PHP 인터페이스 Predis\Connection\FactoryInterface

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

공개 메소드들

메소드 설명
aggregate ( Predis\Connection\AggregateConnectionInterface $aggregate, array $parameters ) Aggregates single connections into an aggregate connection instance.
create ( mixed $parameters ) : Predis\Connection\NodeConnectionInterface Creates a new connection object.
define ( string $scheme, mixed $initializer ) Defines or overrides the connection class identified by a scheme prefix.
undefine ( string $scheme ) Undefines the connection identified by a scheme prefix.

메소드 상세

aggregate() 공개 메소드

Aggregates single connections into an aggregate connection instance.
public aggregate ( Predis\Connection\AggregateConnectionInterface $aggregate, array $parameters )
$aggregate Predis\Connection\AggregateConnectionInterface Aggregate connection instance.
$parameters array List of parameters for each connection.

create() 공개 메소드

Creates a new connection object.
public create ( mixed $parameters ) : Predis\Connection\NodeConnectionInterface
$parameters mixed Initialization parameters for the connection.
리턴 Predis\Connection\NodeConnectionInterface

define() 공개 메소드

Defines or overrides the connection class identified by a scheme prefix.
public define ( string $scheme, mixed $initializer )
$scheme string Target connection scheme.
$initializer mixed Fully-qualified name of a class or a callable for lazy initialization.

undefine() 공개 메소드

Undefines the connection identified by a scheme prefix.
public undefine ( string $scheme )
$scheme string Target connection scheme.