Class ServerShell
built-in Server Shell
- AppShell
- ServerShell
Package: Cake\Console\Command
Copyright: Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
License: MIT License
Location: Cake/Console/Command/ServerShell.php
Copyright: Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
License: MIT License
Location: Cake/Console/Command/ServerShell.php
Properties summary
-
$_documentRoot
protectedstring
document root -
$_host
protectedstring
server host -
$_port
protectedstring
listen port
Method Summary
-
_welcome() protected
Displays a header for the shell -
getOptionParser() public
Gets the option parser instance and configures it. -
initialize() public
Override initialize of the Shell -
main() public
Override main() to handle action -
startup() public
Starts up the Shell and displays the welcome message. Allows for checking and configuring prior to command or main execution