Property | Type | Description | |
---|---|---|---|
$config | array |
Method | Description | |
---|---|---|
__construct ( array $config = [] ) | ||
addConnection ( string $alias, string $uri, GraphAware\Common\Driver\ConfigInterface $config = null ) : |
Add a connection to the handled connections. | |
build ( ) : GraphAware\Neo4j\Client\ClientInterface | Builds a Client based on the connections given. | |
create ( array $config = [] ) : |
Creates a new Client factory. | |
preflightEnv ( string $variable ) | ||
registerEventListener ( string $eventName, mixed $callback ) | ||
setDefaultTimeout ( integer $timeout ) | ||
setMaster ( string $connectionAlias ) |
Method | Description | |
---|---|---|
getDefaultTimeout ( ) : integer |
public addConnection ( string $alias, string $uri, GraphAware\Common\Driver\ConfigInterface $config = null ) : |
||
$alias | string | |
$uri | string | |
$config | GraphAware\Common\Driver\ConfigInterface | |
return |
public build ( ) : GraphAware\Neo4j\Client\ClientInterface | ||
return | GraphAware\Neo4j\Client\ClientInterface |
public registerEventListener ( string $eventName, mixed $callback ) | ||
$eventName | string | |
$callback | mixed |