Class yii\shell\ShellController

Inheritanceyii\shell\ShellController » yii\console\Controller
Available since version2.0

Runs interactive shell. That is especially useful when developing an application and you want to try some method of your code.

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$include array Include file(s) before starting tinker shell yii\shell\ShellController

Public Methods

Hide inherited methods

MethodDescriptionDefined By
actionIndex() Runs interactive shell yii\shell\ShellController
options() yii\shell\ShellController

Protected Methods

Hide inherited methods

MethodDescriptionDefined By
getCasters() yii\shell\ShellController

Property Details

$include public property

Include file(s) before starting tinker shell

public array $include = []

Method Details

actionIndex() public method

Runs interactive shell

public void actionIndex ( )
getCasters() protected method

protected array getCasters ( )
return array

Casters for psysh

options() public method

public void options ( $actionID )
$actionID