-
Fabien Potencier authored
This PR was merged into the 1.3 branch. Discussion ---------- Easier user access In Silex 1.3, it's "harder" to get the user from the security layer as the `security` service has been deprecated. The code is already available in the security trait, but if you are not using it, you need to use a somewhat "complex" expression in templates to access it (see #1152) This PR moves the code from the trait to the security service to make it available to everyone. One question though: can we deprecate the trait `user()` function? It is not useful anymore after this PR. Commits ------- 87dc8570 made it easier to get the user from the app
a730a6de
Name |
Last commit
|
Last update |
---|---|---|
bin | ||
doc | ||
src/Silex | ||
tests/Silex/Tests | ||
.gitignore | ||
.travis.yml | ||
LICENSE | ||
README.rst | ||
composer.json | ||
phpunit.xml.dist |