public function __construct(Cache $cache, $key) { $this->cache = $cache; $this->key = $key; ob_start(); }