Method | Description | |
---|---|---|
getName ( ) : string | Returns the canonical name of this helper. | |
getUser ( ) : FOS\UserBundle\Model\User | Returns the authenticated user, if any | |
isAnonymous ( ) : boolean | Tell whether or not the user is anonymous | |
isAuthenticated ( ) : boolean | Tell whether or not a user is logged in | |
isUser ( |
Tells whether the authenticated user is this user |
public getUser ( ) : FOS\UserBundle\Model\User | ||
return | FOS\UserBundle\Model\User |
public isAnonymous ( ) : boolean | ||
return | boolean |
public isAuthenticated ( ) : boolean | ||
return | boolean |