Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
S
Silex
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
common
Silex
Commits
29e69c9f
Commit
29e69c9f
authored
May 28, 2015
by
Fabien Potencier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
deprecated the user() trait
parent
a730a6de
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
doc/changelog.rst
doc/changelog.rst
+1
-0
src/Silex/Application/SecurityTrait.php
src/Silex/Application/SecurityTrait.php
+2
-0
No files found.
doc/changelog.rst
View file @
29e69c9f
...
@@ -4,6 +4,7 @@ Changelog
...
@@ -4,6 +4,7 @@ Changelog
1.3.0 (2015-XX-XX)
1.3.0 (2015-XX-XX)
------------------
------------------
* added a `$app['user']` to get the current user (security provider)
* added view handlers
* added view handlers
* added support for the OPTIONS HTTP method
* added support for the OPTIONS HTTP method
* added caching for the Translator provider
* added caching for the Translator provider
...
...
src/Silex/Application/SecurityTrait.php
View file @
29e69c9f
...
@@ -28,6 +28,8 @@ trait SecurityTrait
...
@@ -28,6 +28,8 @@ trait SecurityTrait
* @return mixed
* @return mixed
*
*
* @see TokenInterface::getUser()
* @see TokenInterface::getUser()
*
* @deprecated since 1.3, to be removed in 3.0
*/
*/
public
function
user
()
public
function
user
()
{
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment