console\controllers\HelpController actionIndex()

actionIndex() public method Displays available commands or the detailed information about a particular command. public integer actionIndex ( $command = null )$command string The name of the command to show help about. If not provided, all available commands will be displayed. return integer The exit status throws yii\console\Exception if the command for help is unknown

console\controllers\HelpController $commands

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

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\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 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 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 needToApplyAll()

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

console\controllers\FixtureController actionUnload()

actionUnload() public method Unloads the specified fixtures. For example, # unload the fixture data specified by User and UserProfile. yii fixture/unload "User, UserProfile" # unload all fixtures found under 'tests\unit\fixtures' yii fixture/unload "*" # unload all fixtures except User and UserProfile yii fixture/unload "*, -User, -UserProfile" public integer actionUnload ( array $fixturesInput = [] )$fixturesInput array return integer Return code throws yii\console\Exception if th

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'