Method | Description | |
---|---|---|
createUser ( ) : |
Creates an empty user instance | |
deleteUser ( FOS\UserBundle\Model\UserInterface $user ) : void | Deletes a user | |
findUserBy ( array $criteria ) : |
Finds one user by the given criteria | |
findUserByConfirmationToken ( string $token ) : |
Find a user by its confirmationToken | |
findUserByEmail ( string $email ) : |
Find a user by its email | |
findUserByUsername ( string $username ) : |
Find a user by its username | |
findUserByUsernameOrEmail ( string $usernameOrEmail ) : |
Find a user by its username or email | |
findUsers ( ) : Traversable | Returns a collection with all user instances | |
getClass ( ) : string | Returns the user's fully qualified class name | |
updateCanonicalFields ( FOS\UserBundle\Model\UserInterface $user ) : void | Updates the canonical username and email fields for a user | |
updatePassword ( FOS\UserBundle\Model\UserInterface $user ) : void | Updates a user password if a plain password is set | |
updateUser ( FOS\UserBundle\Model\UserInterface $user ) : void | Updates a user | |
validateUnique ( FOS\UserBundle\Model\UserInterface $value, |
Checks the uniqueness of the given fields, returns true if its unique |
public deleteUser ( FOS\UserBundle\Model\UserInterface $user ) : void | ||
$user | FOS\UserBundle\Model\UserInterface | |
return | void |
public findUserBy ( array $criteria ) : |
||
$criteria | array | |
return |
public findUserByConfirmationToken ( string $token ) : |
||
$token | string | |
return | or null if user does not exist |
public findUserByEmail ( string $email ) : |
||
string | ||
return | or null if user does not exist |
public findUserByUsername ( string $username ) : |
||
$username | string | |
return | or null if user does not exist |
public findUserByUsernameOrEmail ( string $usernameOrEmail ) : |
||
$usernameOrEmail | string | |
return | or null if user does not exist |
public findUsers ( ) : Traversable | ||
return | Traversable |
public updateCanonicalFields ( FOS\UserBundle\Model\UserInterface $user ) : void | ||
$user | FOS\UserBundle\Model\UserInterface | |
return | void |
public updatePassword ( FOS\UserBundle\Model\UserInterface $user ) : void | ||
$user | FOS\UserBundle\Model\UserInterface | |
return | void |
public updateUser ( FOS\UserBundle\Model\UserInterface $user ) : void | ||
$user | FOS\UserBundle\Model\UserInterface | |
return | void |
public validateUnique ( FOS\UserBundle\Model\UserInterface $value, |
||
$value | FOS\UserBundle\Model\UserInterface | |
$constraint | ||
return | boolean |