/** * @param mixed $model */ protected function scheduleForUpdateIfSupported($model) { if ($this->storage->supportModel($model)) { $modelHash = spl_object_hash($model); if (array_key_exists($modelHash, $this->scheduledForUpdateModels)) { return; } $this->scheduledForUpdateModels[$modelHash] = $model; } }
/** * {@inheritDoc} */ public function invalidate(TokenInterface $token) { $this->tokenStorage->deleteModel($token); }