PHP 클래스 Swift_Events_ResponseEvent, Halite

저자: Chris Corbyn ([email protected])
상속: extends Swift_Events
파일 보기 프로젝트 열기: HaliteChallenge/Halite 1 사용 예제들

공개 메소드들

메소드 설명
__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