built-in Server Shell
string
'localhost'
integer
80
$_documentRoot
protected string
$_host
protected string
$_port
protected string
Starts up the Shell and displays the welcome message. Allows for checking and configuring prior to command or main execution
getOptionParser( )
Gets the option parser instance and configures it.
ConsoleOptionParser
startup( )
Starts up the Shell and displays the welcome message. Allows for checking and configuring prior to command or main execution
Override this method if you want to remove the welcome information, or otherwise modify the pre-command flow.
© 2005–2016 The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
https://api.cakephp.org/2.9/class-ServerShell.html