diff options
author | Fabien Potencier <fabien.potencier@gmail.com> | 2016-05-03 14:15:42 +0200 |
---|---|---|
committer | Fabien Potencier <fabien.potencier@gmail.com> | 2016-05-03 14:15:42 +0200 |
commit | f9afda8b87bc1acf3a59d8e248d450559f430b04 (patch) | |
tree | ae187070176f7d72a77b6b4b26781f26dbb23251 /Core | |
parent | 76ff659b146558af0a17c9c08511dc0edfd79def (diff) | |
parent | 36d0ab3c0f6440bd1febe8679ff69a75d3ab519a (diff) | |
download | symfony-security-f9afda8b87bc1acf3a59d8e248d450559f430b04.zip symfony-security-f9afda8b87bc1acf3a59d8e248d450559f430b04.tar.gz symfony-security-f9afda8b87bc1acf3a59d8e248d450559f430b04.tar.bz2 |
bug #18693 add @Event annotation for AuthenticationEvents (Haehnchen)
This PR was merged into the 3.1-dev branch.
Discussion
----------
add @Event annotation for AuthenticationEvents
| Q | A
| ------------- | ---
| Branch | 2.3
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | #18684
| License | MIT
split of #18684 for targeting 2.3 branch
Commits
-------
e2c1270 add @Event annotation for AuthenticationEvents
Diffstat (limited to 'Core')
-rw-r--r-- | Core/AuthenticationEvents.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Core/AuthenticationEvents.php b/Core/AuthenticationEvents.php index 90b7142..13bce30 100644 --- a/Core/AuthenticationEvents.php +++ b/Core/AuthenticationEvents.php @@ -20,6 +20,8 @@ final class AuthenticationEvents * The event listener method receives a * Symfony\Component\Security\Core\Event\AuthenticationEvent instance. * + * @Event + * * @var string */ const AUTHENTICATION_SUCCESS = 'security.authentication.success'; @@ -32,6 +34,8 @@ final class AuthenticationEvents * Symfony\Component\Security\Core\Event\AuthenticationFailureEvent * instance. * + * @Event + * * @var string */ const AUTHENTICATION_FAILURE = 'security.authentication.failure'; |