protected function resetCachedRepository() { $this->resetRepository(); $this->cacheLifetime = null; $this->cacheDriver = null; return $this; }