PHP 클래스 Bravo3\Orm\Drivers\Redis\PredisClientFactory

파일 보기 프로젝트 열기: bravo3/orm 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$sentinel SentinelMonitor

공개 메소드들

메소드 설명
create ( mixed $params = null, mixed $options = null, mixed $sentinel_params = null ) : Client Build and return an instance of Predis Client.

메소드 상세

create() 공개 정적인 메소드

If sentinel parameters are specified, a connection to Sentinel would be initialised first and then find master slave configuration to be used for the Client. Note: First connection made to the Sentinel will be persisted and used for all consequent function calls.
public static create ( mixed $params = null, mixed $options = null, mixed $sentinel_params = null ) : Client
$params mixed
$options mixed
$sentinel_params mixed
리턴 Predis\Client

프로퍼티 상세

$sentinel 정적으로 공개적으로 프로퍼티

static public SentinelMonitor,Bravo3\Orm\Drivers\Redis $sentinel
리턴 SentinelMonitor