public function __construct(ConnectionInterface $connection, $table, $hashKey, $expires = 0) { $this->table = $table; $this->hashKey = $hashKey; $this->expires = $expires; $this->connection = $connection; }