PHP 클래스 GraphAware\Neo4j\Client\ClientBuilder

파일 보기 프로젝트 열기: graphaware/neo4j-php-client 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$config array

공개 메소드들

메소드 설명
__construct ( array $config = [] )
addConnection ( string $alias, string $uri, GraphAware\Common\Driver\ConfigInterface $config = null ) : ClientBuilder Add a connection to the handled connections.
build ( ) : GraphAware\Neo4j\Client\ClientInterface Builds a Client based on the connections given.
create ( array $config = [] ) : ClientBuilder Creates a new Client factory.
preflightEnv ( string $variable )
registerEventListener ( string $eventName, mixed $callback )
setDefaultTimeout ( integer $timeout )
setMaster ( string $connectionAlias )

비공개 메소드들

메소드 설명
getDefaultTimeout ( ) : integer

메소드 상세

__construct() 공개 메소드

public __construct ( array $config = [] )
$config array

addConnection() 공개 메소드

Add a connection to the handled connections.
public addConnection ( string $alias, string $uri, GraphAware\Common\Driver\ConfigInterface $config = null ) : ClientBuilder
$alias string
$uri string
$config GraphAware\Common\Driver\ConfigInterface
리턴 ClientBuilder

build() 공개 메소드

Builds a Client based on the connections given.
public build ( ) : GraphAware\Neo4j\Client\ClientInterface
리턴 GraphAware\Neo4j\Client\ClientInterface

create() 공개 정적인 메소드

Creates a new Client factory.
public static create ( array $config = [] ) : ClientBuilder
$config array
리턴 ClientBuilder

preflightEnv() 공개 메소드

public preflightEnv ( string $variable )
$variable string

registerEventListener() 공개 메소드

public registerEventListener ( string $eventName, mixed $callback )
$eventName string
$callback mixed

setDefaultTimeout() 공개 메소드

public setDefaultTimeout ( integer $timeout )
$timeout integer

setMaster() 공개 메소드

public setMaster ( string $connectionAlias )
$connectionAlias string

프로퍼티 상세

$config 보호되어 있는 프로퍼티

protected array $config
리턴 array