PHP Класс Askedio\LaravelRatchet\Console\Commands\RatchetServerCommand

Наследование: extends Illuminate\Console\Command
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$description string The console command description.
$host string Server host.
$name string The console command name.
$port integer Server port.

Открытые методы

Метод Описание
__construct ( ) : void Create a new command instance.
fire ( ) : mixed Execute the console command.

Защищенные методы

Метод Описание
getOptions ( ) : array Get the console command options.

Приватные методы

Метод Описание
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.

Описание методов

__construct() публичный метод

Create a new command instance.
public __construct ( ) : void
Результат void

fire() публичный метод

Execute the console command.
public fire ( ) : mixed
Результат mixed

getOptions() защищенный метод

Get the console command options.
protected getOptions ( ) : array
Результат array

Описание свойств

$description защищенное свойство

The console command description.
protected string $description
Результат string

$host защищенное свойство

Server host.
protected string $host
Результат string

$name защищенное свойство

The console command name.
protected string $name
Результат string

$port защищенное свойство

Server port.
protected int $port
Результат integer