[Security/Core] force implementations to accept null values

This commit is contained in:
Johannes Schmitt 2011-04-20 22:38:16 +02:00
parent f697fe3b26
commit 192592ec9b

View File

@ -28,7 +28,7 @@ interface SecurityContextInterface
* @param TokenInterface $token
* @return void
*/
function setToken(TokenInterface $token);
function setToken(TokenInterface $token = null);
/**
* Checks if the attributes are granted against the current authentication token and optionally supplied object.