PHP Class Neos\Flow\Command\ServerCommandController

Inheritance: extends Neos\Flow\Cli\CommandController
Datei anzeigen Open project: neos/flow-development-collection

Protected Properties

Property Type Description
$settings array

Public Methods

Method Description
runCommand ( string $host = '127.0.0.1', integer $port = 8081 ) : void Run a standalone development server

Method Details

runCommand() public method

Starts an embedded server, see http://php.net/manual/en/features.commandline.webserver.php Note: This requires PHP 5.4+ To change the context Flow will run in, you can set the FLOW_CONTEXT environment variable: export FLOW_CONTEXT=Development && ./flow server:run
public runCommand ( string $host = '127.0.0.1', integer $port = 8081 ) : void
$host string The host name or IP address for the server to listen on
$port integer The server port to listen on
return void

Property Details

$settings protected_oe property

protected array $settings
return array