summaryrefslogtreecommitdiffstats
path: root/Core/User
diff options
context:
space:
mode:
authorFabien Potencier <fabien.potencier@gmail.com>2012-07-09 14:38:28 +0200
committerFabien Potencier <fabien.potencier@gmail.com>2012-07-09 14:43:50 +0200
commitc900a0c34f7da7107e68c558e4bddd1676e7da43 (patch)
tree7b4e8d411940ce4d6aedc525ad110590d70db652 /Core/User
parent1d26f9286503935f3d4670d2087c1194063687be (diff)
downloadsymfony-security-c900a0c34f7da7107e68c558e4bddd1676e7da43.zip
symfony-security-c900a0c34f7da7107e68c558e4bddd1676e7da43.tar.gz
symfony-security-c900a0c34f7da7107e68c558e4bddd1676e7da43.tar.bz2
fixed CS (mainly method signatures)v2.0.16
Diffstat (limited to 'Core/User')
-rw-r--r--Core/User/AdvancedUserInterface.php8
-rw-r--r--Core/User/UserCheckerInterface.php4
-rw-r--r--Core/User/UserInterface.php12
-rw-r--r--Core/User/UserProviderInterface.php6
4 files changed, 15 insertions, 15 deletions
diff --git a/Core/User/AdvancedUserInterface.php b/Core/User/AdvancedUserInterface.php
index e951c65..5b3a51a 100644
--- a/Core/User/AdvancedUserInterface.php
+++ b/Core/User/AdvancedUserInterface.php
@@ -47,7 +47,7 @@ interface AdvancedUserInterface extends UserInterface
*
* @see AccountExpiredException
*/
- function isAccountNonExpired();
+ public function isAccountNonExpired();
/**
* Checks whether the user is locked.
@@ -59,7 +59,7 @@ interface AdvancedUserInterface extends UserInterface
*
* @see LockedException
*/
- function isAccountNonLocked();
+ public function isAccountNonLocked();
/**
* Checks whether the user's credentials (password) has expired.
@@ -71,7 +71,7 @@ interface AdvancedUserInterface extends UserInterface
*
* @see CredentialsExpiredException
*/
- function isCredentialsNonExpired();
+ public function isCredentialsNonExpired();
/**
* Checks whether the user is enabled.
@@ -83,5 +83,5 @@ interface AdvancedUserInterface extends UserInterface
*
* @see DisabledException
*/
- function isEnabled();
+ public function isEnabled();
}
diff --git a/Core/User/UserCheckerInterface.php b/Core/User/UserCheckerInterface.php
index 61f0f6e..3dd8d51 100644
--- a/Core/User/UserCheckerInterface.php
+++ b/Core/User/UserCheckerInterface.php
@@ -25,12 +25,12 @@ interface UserCheckerInterface
*
* @param UserInterface $user a UserInterface instance
*/
- function checkPreAuth(UserInterface $user);
+ public function checkPreAuth(UserInterface $user);
/**
* Checks the user account after authentication.
*
* @param UserInterface $user a UserInterface instance
*/
- function checkPostAuth(UserInterface $user);
+ public function checkPostAuth(UserInterface $user);
}
diff --git a/Core/User/UserInterface.php b/Core/User/UserInterface.php
index 85356b7..ccb6fbd 100644
--- a/Core/User/UserInterface.php
+++ b/Core/User/UserInterface.php
@@ -47,7 +47,7 @@ interface UserInterface
*
* @return Role[] The user roles
*/
- function getRoles();
+ public function getRoles();
/**
* Returns the password used to authenticate the user.
@@ -57,7 +57,7 @@ interface UserInterface
*
* @return string The password
*/
- function getPassword();
+ public function getPassword();
/**
* Returns the salt that was originally used to encode the password.
@@ -66,14 +66,14 @@ interface UserInterface
*
* @return string The salt
*/
- function getSalt();
+ public function getSalt();
/**
* Returns the username used to authenticate the user.
*
* @return string The username
*/
- function getUsername();
+ public function getUsername();
/**
* Removes sensitive data from the user.
@@ -83,7 +83,7 @@ interface UserInterface
*
* @return void
*/
- function eraseCredentials();
+ public function eraseCredentials();
/**
* Returns whether or not the given user is equivalent to *this* user.
@@ -98,5 +98,5 @@ interface UserInterface
*
* @return Boolean
*/
- function equals(UserInterface $user);
+ public function equals(UserInterface $user);
}
diff --git a/Core/User/UserProviderInterface.php b/Core/User/UserProviderInterface.php
index dbd7924..6669c43 100644
--- a/Core/User/UserProviderInterface.php
+++ b/Core/User/UserProviderInterface.php
@@ -48,7 +48,7 @@ interface UserProviderInterface
* @throws UsernameNotFoundException if the user is not found
*
*/
- function loadUserByUsername($username);
+ public function loadUserByUsername($username);
/**
* Refreshes the user for the account interface.
@@ -63,7 +63,7 @@ interface UserProviderInterface
*
* @throws UnsupportedUserException if the account is not supported
*/
- function refreshUser(UserInterface $user);
+ public function refreshUser(UserInterface $user);
/**
* Whether this provider supports the given user class
@@ -72,5 +72,5 @@ interface UserProviderInterface
*
* @return Boolean
*/
- function supportsClass($class);
+ public function supportsClass($class);
}