PHP 클래스 Bravo3\Orm\Tests\Drivers\Redis\DummyClient

상속: implements Predis\ClientInterface
파일 보기 프로젝트 열기: bravo3/orm

공개 메소드들

메소드 설명
__call ( $method, $arguments )
connect ( ) Opens the underlying connection to the server.
createCommand ( string $method, array $arguments = [] ) : Predis\Command\CommandInterface Creates a new instance of the specified Redis command.
disconnect ( ) Closes the underlying connection from the server.
executeCommand ( Predis\Command\CommandInterface $command ) : mixed Executes the specified Redis command.
exists ( string $key ) : boolean Empty function to mock calls to Predis/Client
get ( string $key ) : string Empty function to mock calls to Predis/Client
getConnection ( ) : ConnectionInterface Returns the underlying connection instance.
getOptions ( ) : OptionsInterface Returns the client options specified upon initialization.
getProfile ( ) : ProfileInterface Returns the server profile used by the client.

메소드 상세

__call() 공개 메소드

public __call ( $method, $arguments )

connect() 공개 메소드

Opens the underlying connection to the server.
public connect ( )

createCommand() 공개 메소드

Creates a new instance of the specified Redis command.
public createCommand ( string $method, array $arguments = [] ) : Predis\Command\CommandInterface
$method string Command ID.
$arguments array Arguments for the command.
리턴 Predis\Command\CommandInterface

disconnect() 공개 메소드

Closes the underlying connection from the server.
public disconnect ( )

executeCommand() 공개 메소드

Executes the specified Redis command.
public executeCommand ( Predis\Command\CommandInterface $command ) : mixed
$command Predis\Command\CommandInterface Command instance.
리턴 mixed

exists() 공개 메소드

Empty function to mock calls to Predis/Client
public exists ( string $key ) : boolean
$key string
리턴 boolean

get() 공개 메소드

Empty function to mock calls to Predis/Client
public get ( string $key ) : string
$key string
리턴 string

getConnection() 공개 메소드

Returns the underlying connection instance.
public getConnection ( ) : ConnectionInterface
리턴 ConnectionInterface

getOptions() 공개 메소드

Returns the client options specified upon initialization.
public getOptions ( ) : OptionsInterface
리턴 OptionsInterface

getProfile() 공개 메소드

Returns the server profile used by the client.
public getProfile ( ) : ProfileInterface
리턴 ProfileInterface