Property | Type | Description | |
---|---|---|---|
$securityContext |
Method | Description | |
---|---|---|
__construct ( |
||
getFunctions ( ) : array | Returns a list of global functions to add to the existing list. | |
getName ( ) : string | Returns the name of the extension. | |
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 ( User $user ) : boolean | Tells whether the authenticated user is this user |
public __construct ( |
||
$securityContext |
public getFunctions ( ) : array | ||
return | array | An array of global functions |
public getUser ( ) : FOS\UserBundle\Model\User | ||
return | FOS\UserBundle\Model\User |
public isAnonymous ( ) : boolean | ||
return | boolean |
public isAuthenticated ( ) : boolean | ||
return | boolean |