/** * Constructor. * * @param ClientInterface $client Predis client instance. * @param array $options Provider options. */ public function __construct(ClientInterface $client, array $options = array()) { parent::__construct(); $this->client = $client; /* Set the provider options. */ $this->setOptions($options); }
/** * Constructor. * * @param array $options Provider options. */ public function __construct(array $options = array()) { parent::__construct(); /* Set the provider options. */ $this->setOptions($options); }