Property | Type | Description | |
---|---|---|---|
$prefix |
Method | Description | |
---|---|---|
__construct ( string $prefix = 'predis' ) | ||
register ( Pimple\Container $app ) |
Method | Description | |
---|---|---|
getClientInitializer ( Pimple\Container $app, string $prefix ) : Closure | Returns an anonymous function used by the service provider initialize lazily new instances of Predis\Client. | |
getProviderHandler ( Pimple\Container $app, string $prefix ) : mixed | Returns an anonymous function used by the service provider to handle accesses to the root prefix. |
public __construct ( string $prefix = 'predis' ) | ||
$prefix | string | Prefix name used to register the service provider in Silex. |
protected getClientInitializer ( Pimple\Container $app, string $prefix ) : Closure | ||
$app | Pimple\Container | |
$prefix | string | |
return | Closure |
protected getProviderHandler ( Pimple\Container $app, string $prefix ) : mixed | ||
$app | Pimple\Container | |
$prefix | string | |
return | mixed |