console\controllers\FixtureController 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\HelpController $commands

$commands public read-only property All available command names public array getCommands ( )

console\controllers\HelpController formatOptionAliases()

formatOptionAliases() protected method (available since version 2.0.8) protected string formatOptionAliases ( $controller, $option )$controller yii\console\Controller The controller instance $option string The option name return string The formatted string for the alias argument or option

console\controllers\FixtureController notifyNothingToLoad()

notifyNothingToLoad() public method Notifies user that there are no fixtures to load according input conditions public void notifyNothingToLoad ( $foundFixtures, $except )$foundFixtures array Array of found fixtures $except array Array of names of fixtures that should not be loaded

console\controllers\FixtureController notifyNothingToUnload()

notifyNothingToUnload() public method Notifies user that there are no fixtures to unload according input conditions public void notifyNothingToUnload ( $foundFixtures, $except )$foundFixtures array Array of found fixtures $except array Array of names of fixtures that should not be loaded

console\controllers\FixtureController optionAliases()

optionAliases() public method (available since version 2.0.8) Returns option alias names. Child classes may override this method to specify alias options. public array optionAliases ( )return array The options alias names valid for the action where the keys is alias name for option and value is option name.

console\controllers\FixtureController needToApplyAll()

needToApplyAll() public method Checks if needed to apply all fixtures. public boolean needToApplyAll ( $fixture )$fixture string

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\FixtureController $defaultAction

$defaultAction public property Controller default action ID. public string $defaultAction = 'load'