public function __construct(array $client = array(), $expire = 0) { $this->redis = new Client($client); $this->expire = (int) $expire; }