PHP Class Askedio\LaravelRatchet\Console\Commands\RatchetServerCommand

Inheritance: extends Illuminate\Console\Command
ファイルを表示 Open project: askedio/laravel-ratchet

Protected Properties

Property Type Description
$description string The console command description.
$host string Server host.
$name string The console command name.
$port integer Server port.

Public Methods

Method Description
__construct ( ) : void Create a new command instance.
fire ( ) : mixed Execute the console command.

Protected Methods

Method Description
getOptions ( ) : array Get the console command options.

Private Methods

Method Description
getDriver ( [type] $driver ) : [type] Get the IO driver.
getWsServerDriver ( [type] $ratchetServer ) : [type] Get the WsServer driver.
server ( [type] $driver ) : [type] Return the IoServer factory.
startWampServer ( ) : [type] Get the WampServer driver.

Method Details

__construct() public method

Create a new command instance.
public __construct ( ) : void
return void

fire() public method

Execute the console command.
public fire ( ) : mixed
return mixed

getOptions() protected method

Get the console command options.
protected getOptions ( ) : array
return array

Property Details

$description protected_oe property

The console command description.
protected string $description
return string

$host protected_oe property

Server host.
protected string $host
return string

$name protected_oe property

The console command name.
protected string $name
return string

$port protected_oe property

Server port.
protected int $port
return integer