protected function voteOnAttribute($attribute, $subject, TokenInterface $token)
    {
        /** @var $subject Query */
        return $this->isLoggedInUser($token) || !$this->inList($subject->getName());
    }
protected function voteOnAttribute($attribute, $subject, TokenInterface $token)
    {
        /** @var $subject Query */
        return $this->isLoggedInUser($token) || !$this->inList($subject->getName());
    }
protected function voteOnAttribute ( $ attribute , $ subject , TokenInterface $ token ) { /** @var $subject Query */ return $ this -> isLoggedInUser ( $ token ) || ! $ this -> inList ( $ subject -> getName ( ) ) ; }
Perform a single access check operation on a given attribute, subject and token.

@param string         $attribute
@param mixed          $subject
@param TokenInterface $token

@return bool
Perform a single access check operation on a given attribute subject and token .