Updated PHPDoc of the AbstractVoter class

This commit is contained in:
Konstantin Myakshin 2015-10-02 18:38:39 +03:00
parent 1805649181
commit 68d010aaff

View File

@ -183,11 +183,8 @@ abstract class AbstractVoter implements VoterInterface
}
/**
* Perform a single access check operation on a given attribute, object and (optionally) user
* It is safe to assume that $attribute and $object's class pass supportsAttribute/supportsClass
* $user can be one of the following:
* a UserInterface object (fully authenticated user)
* a string (anonymously authenticated user).
* Perform a single access check operation on a given attribute, object and token.
* It is safe to assume that $attribute and $object's class pass supports method call.
*
* This method will become abstract in 3.0.
*