summaryrefslogtreecommitdiffstats
path: root/Core/Authorization
diff options
context:
space:
mode:
Diffstat (limited to 'Core/Authorization')
-rw-r--r--Core/Authorization/AccessDecisionManagerInterface.php6
-rw-r--r--Core/Authorization/Voter/VoterInterface.php6
2 files changed, 6 insertions, 6 deletions
diff --git a/Core/Authorization/AccessDecisionManagerInterface.php b/Core/Authorization/AccessDecisionManagerInterface.php
index 648047a..742ea74 100644
--- a/Core/Authorization/AccessDecisionManagerInterface.php
+++ b/Core/Authorization/AccessDecisionManagerInterface.php
@@ -29,7 +29,7 @@ interface AccessDecisionManagerInterface
*
* @return Boolean true if the access is granted, false otherwise
*/
- function decide(TokenInterface $token, array $attributes, $object = null);
+ public function decide(TokenInterface $token, array $attributes, $object = null);
/**
* Checks if the access decision manager supports the given attribute.
@@ -38,7 +38,7 @@ interface AccessDecisionManagerInterface
*
* @return Boolean true if this decision manager supports the attribute, false otherwise
*/
- function supportsAttribute($attribute);
+ public function supportsAttribute($attribute);
/**
* Checks if the access decision manager supports the given class.
@@ -47,5 +47,5 @@ interface AccessDecisionManagerInterface
*
* @return true if this decision manager can process the class
*/
- function supportsClass($class);
+ public function supportsClass($class);
}
diff --git a/Core/Authorization/Voter/VoterInterface.php b/Core/Authorization/Voter/VoterInterface.php
index 41d9e64..1fc93e5 100644
--- a/Core/Authorization/Voter/VoterInterface.php
+++ b/Core/Authorization/Voter/VoterInterface.php
@@ -31,7 +31,7 @@ interface VoterInterface
*
* @return Boolean true if this Voter supports the attribute, false otherwise
*/
- function supportsAttribute($attribute);
+ public function supportsAttribute($attribute);
/**
* Checks if the voter supports the given class.
@@ -40,7 +40,7 @@ interface VoterInterface
*
* @return true if this Voter can process the class
*/
- function supportsClass($class);
+ public function supportsClass($class);
/**
* Returns the vote for the given parameters.
@@ -54,5 +54,5 @@ interface VoterInterface
*
* @return integer either ACCESS_GRANTED, ACCESS_ABSTAIN, or ACCESS_DENIED
*/
- function vote(TokenInterface $token, $object, array $attributes);
+ public function vote(TokenInterface $token, $object, array $attributes);
}