console\Markdown renderEmph()

renderEmph() protected method Renders empathized elements. protected string renderEmph ( $element )$element array

console\controllers\ServeController optionAliases()

optionAliases() public method (available since version 2.0.8) Returns option alias names. Child classes may override this method to specify alias options. public array optionAliases ( )return array The options alias names valid for the action where the keys is alias name for option and value is option name.

console\controllers\ServeController options()

options() public method Returns the names of valid options for the action (id) An option requires the existence of a public member variable whose name is the option name. Child classes may override this method to specify possible options. Note that the values setting via options are not available until beforeAction() is being called. public array options ( $actionID )$actionID string The action id of the current request return array The names of the options valid for the action

console\ErrorHandler formatMessage()

formatMessage() protected method Colorizes a message for console output. See also yii\helpers\Console::ansiFormat() for details on how to specify the message format. protected string formatMessage ( $message, $format = [\yii\helpers\Console::FG_RED, \yii\helpers\Console::BOLD] )$message string The message to colorize. $format array The message format. return string The colorized message.

console\ErrorHandler renderException()

renderException() protected method Renders an exception using ansi format for console output. protected void renderException ( $exception )$exception Exception The exception to be rendered.

console\controllers\ServeController $port

$port public property Port to serve on. public integer $port = 8080

console\controllers\ServeController actionIndex()

actionIndex() public method Runs PHP built-in web server public integer actionIndex ( $address = 'localhost' )$address string Address to serve on. Either "host" or "host:port".

console\controllers\ServeController $router

$router public property Path to router script. See https://secure.php.net/manual/en/features.commandline.webserver.php public string $router = null

console\controllers\ServeController isAddressTaken()

isAddressTaken() protected method protected boolean isAddressTaken ( $address )$address string Server address return boolean If address is already in use

console\controllers\ServeController $docroot

$docroot public property Path or path alias to directory to serve public string $docroot = '@app/web'