public function invalidateCache() { static::$assignmentsByUserId = []; return parent::invalidateCache(); }