PHP Class App\Commands\AppController

Inheritance: extends yii\console\Controller
Show file Open project: phundament/app

Public Properties

Property Type Description
$defaultAction

Public Methods

Method Description
actionClearAssets ( ) Clear [application]/web/assets folder.
actionGenerateDocs ( ) Generate application and required vendor documentation.
actionSetupAdminUser ( ) Setup admin user (create, update password, confirm).
actionVersion ( ) Displays application version from ENV variable (read from version file).

Protected Methods

Method Description
action ( string $command, $params = [] )

Method Details

action() protected method

protected action ( string $command, $params = [] )
$command string

actionClearAssets() public method

Clear [application]/web/assets folder.
public actionClearAssets ( )

actionGenerateDocs() public method

Generate application and required vendor documentation.
public actionGenerateDocs ( )

actionSetupAdminUser() public method

Setup admin user (create, update password, confirm).

actionVersion() public method

Displays application version from ENV variable (read from version file).
public actionVersion ( )

Property Details

$defaultAction public property

public $defaultAction