PHP 클래스 Predis\Profile\RedisProfile

저자: Daniele Alessandri ([email protected])
상속: implements Predis\Profile\ProfileInterface
파일 보기 프로젝트 열기: tillkruss/redis-object-cache

공개 메소드들

메소드 설명
__construct ( )
__toString ( ) : string Returns the version of server profile as its string representation.
createCommand ( $commandID, array $arguments = [] )
defineCommand ( string $commandID, string $class ) Defines a new command in the server profile.
getCommandClass ( string $commandID ) : string | null Returns the fully-qualified name of a class representing the specified command ID registered in the current server profile.
getProcessor ( )
setProcessor ( Predis\Command\Processor\ProcessorInterface $processor = null )
supportsCommand ( $commandID )
supportsCommands ( array $commandIDs )

보호된 메소드들

메소드 설명
getSupportedCommands ( ) : array Returns a map of all the commands supported by the profile and their actual PHP classes.

메소드 상세

__construct() 공개 메소드

public __construct ( )

__toString() 공개 메소드

Returns the version of server profile as its string representation.
public __toString ( ) : string
리턴 string

createCommand() 공개 메소드

public createCommand ( $commandID, array $arguments = [] )
$arguments array

defineCommand() 공개 메소드

Defines a new command in the server profile.
public defineCommand ( string $commandID, string $class )
$commandID string Command ID.
$class string Fully-qualified name of a Predis\Command\CommandInterface.

getCommandClass() 공개 메소드

Returns the fully-qualified name of a class representing the specified command ID registered in the current server profile.
public getCommandClass ( string $commandID ) : string | null
$commandID string Command ID.
리턴 string | null

getProcessor() 공개 메소드

public getProcessor ( )

getSupportedCommands() 추상적인 보호된 메소드

Returns a map of all the commands supported by the profile and their actual PHP classes.
abstract protected getSupportedCommands ( ) : array
리턴 array

setProcessor() 공개 메소드

public setProcessor ( Predis\Command\Processor\ProcessorInterface $processor = null )
$processor Predis\Command\Processor\ProcessorInterface

supportsCommand() 공개 메소드

public supportsCommand ( $commandID )

supportsCommands() 공개 메소드

public supportsCommands ( array $commandIDs )
$commandIDs array