public function invalidateCache() { if ($this->cache !== null) { $this->cache->delete($this->cacheKey); $this->items = null; $this->rules = null; $this->parents = null; } }
public function invalidateCache() { static::$assignmentsByUserId = []; return parent::invalidateCache(); }