PHP Класс Swift_Events_CommandEvent, Halite

Автор: Chris Corbyn ([email protected])
Наследование: extends Swift_Events
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
__construct ( Swift_Transport $source, string $command, array $successCodes = [] ) Create a new CommandEvent for $source with $command.
getCommand ( ) : string Get the command which was sent to the server.
getSuccessCodes ( ) : integer[] Get the numeric response codes which indicate success for this command.

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

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

Create a new CommandEvent for $source with $command.
public __construct ( Swift_Transport $source, string $command, array $successCodes = [] )
$source Swift_Transport
$command string
$successCodes array

getCommand() публичный Метод

Get the command which was sent to the server.
public getCommand ( ) : string
Результат string

getSuccessCodes() публичный Метод

Get the numeric response codes which indicate success for this command.
public getSuccessCodes ( ) : integer[]
Результат integer[]