$this->accessDecisionManager->decide( $token, [AccompanyingPeriodWorkEvaluationVoter::SEE], $subject->getAccompanyingPeriodWorkEvaluation() ), default => throw new UnexpectedValueException("The attribute {$attribute} is not supported"), }; } }