PHP Class Askedio\LaravelRatchet\Console\Commands\RatchetServerCommand

Inheritance: extends Illuminate\Console\Command
Afficher le fichier Open project: askedio/laravel-ratchet

Protected Properties

Свойство Type Description
$description string The console command description.
$host string Server host.
$name string The console command name.
$port integer Server port.

Méthodes publiques

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

Méthodes protégées

Méthode Description
getOptions ( ) : array Get the console command options.

Private Methods

Méthode 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 méthode

Create a new command instance.
public __construct ( ) : void
Résultat void

fire() public méthode

Execute the console command.
public fire ( ) : mixed
Résultat mixed

getOptions() protected méthode

Get the console command options.
protected getOptions ( ) : array
Résultat array

Property Details

$description protected_oe property

The console command description.
protected string $description
Résultat string

$host protected_oe property

Server host.
protected string $host
Résultat string

$name protected_oe property

The console command name.
protected string $name
Résultat string

$port protected_oe property

Server port.
protected int $port
Résultat integer