public function setAuthenticated($authenticated)
{
$this->authenticated = (bool) $authenticated;
}
/** * {@inheritdoc} */ public function setAuthenticated($isAuthenticated) { if ($isAuthenticated) { throw new \LogicException('Cannot set this token to trusted after instantiation.'); } parent::setAuthenticated(false); }