yii\shell\ShellController::actionIndex PHP Method

actionIndex() public method

Runs interactive shell
public actionIndex ( )
    public function actionIndex()
    {
        $config = new Configuration();
        $config->getPresenter()->addCasters($this->getCasters());
        $shell = new Shell($config);
        $shell->setIncludes($this->include);
        $shell->run();
    }