PHP Класс Swift_Events_ResponseEvent, Halite

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

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

Метод Описание
__construct ( Swift_Transport $source, string $response, boolean $valid = false ) Create a new ResponseEvent for $source and $response.
getResponse ( ) : string Get the response which was received from the server.
isValid ( ) : boolean Get the success status of this Event.

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

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

Create a new ResponseEvent for $source and $response.
public __construct ( Swift_Transport $source, string $response, boolean $valid = false )
$source Swift_Transport
$response string
$valid boolean

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

Get the response which was received from the server.
public getResponse ( ) : string
Результат string

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

Get the success status of this Event.
public isValid ( ) : boolean
Результат boolean