PHP 클래스 Predis\Response\Status

저자: Daniele Alessandri ([email protected])
상속: implements ResponseInterface
파일 보기 프로젝트 열기: tillkruss/redis-object-cache 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( string $payload )
__toString ( ) : string Converts the response object to its string representation.
get ( string $payload ) : string Returns an instance of a status response object.
getPayload ( ) : string Returns the payload of status response.

메소드 상세

__construct() 공개 메소드

public __construct ( string $payload )
$payload string Payload of the status response as returned by Redis.

__toString() 공개 메소드

Converts the response object to its string representation.
public __toString ( ) : string
리턴 string

get() 공개 정적인 메소드

Common status responses such as OK or QUEUED are cached in order to lower the global memory usage especially when using pipelines.
public static get ( string $payload ) : string
$payload string Status response payload.
리턴 string

getPayload() 공개 메소드

Returns the payload of status response.
public getPayload ( ) : string
리턴 string