ControllerTrait

Type
Trait
Namespace
craft\console
Implemented by
craft\console\Controller, craft\console\controllers\BackupController, craft\console\controllers\ClearCachesController, craft\console\controllers\GcController, craft\console\controllers\GraphqlController, craft\console\controllers\IndexAssetsController, craft\console\controllers\InstallController, craft\console\controllers\InvalidateTagsController, craft\console\controllers\MailerController, craft\console\controllers\MigrateController, craft\console\controllers\OffController, craft\console\controllers\OnController, craft\console\controllers\PluginController, craft\console\controllers\ProjectConfigController, craft\console\controllers\ResaveController, craft\console\controllers\RestoreController, craft\console\controllers\SetupController, craft\console\controllers\TestsController, craft\console\controllers\UpdateController, craft\console\controllers\utils\AsciiFilenamesController, craft\console\controllers\utils\FixElementUidsController, craft\console\controllers\utils\PruneRevisionsController, craft\console\controllers\utils\RepairController, craft\console\controllers\utils\UpdateUsernamesController
Since
3.2.0

ConsoleControllerTrait implements the common methods and properties for console controllers.

View source (opens new window)

# Protected Methods

Method Description
outputCommand()

# outputCommand()

View source (opens new window)

Arguments

Returns

mixed