PHP Class skeeks\cms\console\controllers\MigrateController

Inheritance: extends yii\console\controllers\MigrateController
Show file Open project: skeeks-cms/cms

Protected Properties

Property Type Description
$_runtimeMigrationPath

Public Methods

Method Description
beforeAction ( Action $action ) : boolean This method is invoked right before an action is to be executed (after all possible filters.) It checks the existence of the [[migrationPath]].

Protected Methods

Method Description
_copyMigrations ( )

Private Methods

Method Description
_findMigrationDirs ( ) : array
_findMigrationPossibleDirs ( ) : array

Method Details

_copyMigrations() protected method

protected _copyMigrations ( )

beforeAction() public method

This method is invoked right before an action is to be executed (after all possible filters.) It checks the existence of the [[migrationPath]].
public beforeAction ( Action $action ) : boolean
$action yii\base\Action the action to be executed.
return boolean whether the action should continue to be executed.

Property Details

$_runtimeMigrationPath protected property

protected $_runtimeMigrationPath