diff options
author | WouterJ <waldio.webdesign@gmail.com> | 2015-09-26 10:48:24 +0200 |
---|---|---|
committer | WouterJ <waldio.webdesign@gmail.com> | 2015-09-30 15:09:18 +0200 |
commit | 12a1204433e31a02fa19cb75d2882a01e79649ef (patch) | |
tree | 8dd1a8d92081288c13853ca0ea02b8790a42e1ed /Core/Authorization/AccessDecisionManager.php | |
parent | 394fa02864d7b493622e7b69b03edcce55f5aa34 (diff) | |
download | symfony-security-12a1204433e31a02fa19cb75d2882a01e79649ef.zip symfony-security-12a1204433e31a02fa19cb75d2882a01e79649ef.tar.gz symfony-security-12a1204433e31a02fa19cb75d2882a01e79649ef.tar.bz2 |
Removed supports{Attribute,Class}() methods
Diffstat (limited to 'Core/Authorization/AccessDecisionManager.php')
-rw-r--r-- | Core/Authorization/AccessDecisionManager.php | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/Core/Authorization/AccessDecisionManager.php b/Core/Authorization/AccessDecisionManager.php index 7cefef1..e40d906 100644 --- a/Core/Authorization/AccessDecisionManager.php +++ b/Core/Authorization/AccessDecisionManager.php @@ -73,38 +73,6 @@ class AccessDecisionManager implements AccessDecisionManagerInterface } /** - * {@inheritdoc} - */ - public function supportsAttribute($attribute) - { - @trigger_error('The '.__METHOD__.' is deprecated since version 2.8 and will be removed in version 3.0.', E_USER_DEPRECATED); - - foreach ($this->voters as $voter) { - if ($voter->supportsAttribute($attribute)) { - return true; - } - } - - return false; - } - - /** - * {@inheritdoc} - */ - public function supportsClass($class) - { - @trigger_error('The '.__METHOD__.' is deprecated since version 2.8 and will be removed in version 3.0.', E_USER_DEPRECATED); - - foreach ($this->voters as $voter) { - if ($voter->supportsClass($class)) { - return true; - } - } - - return false; - } - - /** * Grants access if any voter returns an affirmative response. * * If all voters abstained from voting, the decision will be based on the |