This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/tests
Kris Wallsmith 41872cd40e [Security] added SecurityContextInterface::getUser()
This changes helps the common use case of fetching the current user and better complies with the Law of Demeter (http://en.wikipedia.org/wiki/Law_of_Demeter).

Before (still works):

    $token = $context->getToken();
    $user = $token ? $token->getUser() : null;

After:

    $user = $context->getUser();
2011-12-08 08:53:01 -08:00
..
Symfony/Tests [Security] added SecurityContextInterface::getUser() 2011-12-08 08:53:01 -08:00
bootstrap.php replaced symfony-project.org by symfony.com 2011-03-06 12:40:06 +01:00