console\controllers\FixtureController actionLoad()

actionLoad() public method Loads the specified fixture data. For example, # load the fixture data specified by User and UserProfile. # any existing fixture data will be removed first yii fixture/load "User, UserProfile" # load all available fixtures found under 'tests\unit\fixtures' yii fixture/load "*" # load all fixtures except User and UserProfile yii fixture/load "*, -User, -UserProfile" public integer actionLoad ( array $fixturesInput = [] )$fixturesInput array return integer Re

console\controllers\FixtureController $namespace

$namespace public property Default namespace to search fixtures in public string $namespace = 'tests\unit\fixtures'

console\controllers\CacheController actionIndex()

actionIndex() public method Lists the caches that can be flushed. public void actionIndex ( )

console\controllers\CacheController actionFlushSchema()

actionFlushSchema() public method (available since version 2.0.1) Clears DB schema cache for a given connection component. # clears cache schema specified by component id: "db" yii cache/flush-schema db public integer actionFlushSchema ( $db = 'db' )$db string Id connection component return integer Exit code throws yii\console\Exception throws yii\base\InvalidConfigException

console\controllers\CacheController actionFlushAll()

actionFlushAll() public method Flushes all caches registered in the system. public void actionFlushAll ( )

console\controllers\CacheController actionFlush()

actionFlush() public method Flushes given cache components. For example, # flushes caches specified by their id: "first", "second", "third" yii cache/flush first second third public void actionFlush ( )

console\controllers\BaseMigrateController options()

options() public method Returns the names of valid options for the action (id) An option requires the existence of a public member variable whose name is the option name. Child classes may override this method to specify possible options. Note that the values setting via options are not available until beforeAction() is being called. public array options ( $actionID )$actionID string The action id of the current request return array The names of the options valid for the action

console\controllers\BaseMigrateController removeMigrationHistory()

removeMigrationHistory() protected abstract method Removes existing migration from the history. protected abstract void removeMigrationHistory ( $version )$version string Migration version name.

console\controllers\BaseMigrateController migrateUp()

migrateUp() protected method Upgrades with the specified migration class. protected boolean migrateUp ( $class )$class string The migration class name return boolean Whether the migration is successful

console\controllers\BaseMigrateController getMigrationHistory()

getMigrationHistory() protected abstract method Returns the migration history. protected abstract array getMigrationHistory ( $limit )$limit integer The maximum number of records in the history to be returned. null for "no limit". return array The migration history