public function __construct(Adapter\AdapterInterface $adapter, $lifetime = 0) { $this->lifetime = $lifetime; $this->adapter = $adapter; }