PreloadedExtension::getType()

FormTypeInterface getType(string $name) Returns a type by name. Parameters string $name The name of the type Return Value FormTypeInterface The type Exceptions InvalidArgumentException if the given type is not supported by this extension

PreAuthenticationGuardToken::getGuardProviderKey()

getGuardProviderKey()

PreAuthenticationGuardToken::setAuthenticated()

setAuthenticated($authenticated) Sets the authenticated flag. Parameters $authenticated

PreconditionFailedHttpException

class PreconditionFailedHttpException extends HttpException PreconditionFailedHttpException. Methods __construct($message = null, Exception $previous = null, $code) Constructor. int getStatusCode() Returns the status code. from HttpException array getHeaders() Returns response headers. from HttpException Details __construct($message = null, Exception $previous = null, $code) Constructor. Parameters $message Exception $previous $c

PreconditionRequiredHttpException

class PreconditionRequiredHttpException extends HttpException PreconditionRequiredHttpException. Methods __construct($message = null, Exception $previous = null, $code) Constructor. int getStatusCode() Returns the status code. from HttpException array getHeaders() Returns response headers. from HttpException Details __construct($message = null, Exception $previous = null, $code) Constructor. Parameters $message Exception $previous

PreAuthenticationGuardToken::getCredentials()

mixed getCredentials() Returns the user credentials, which might be an array of anything you wanted to put in there (e.g. username, password, favoriteColor). Return Value mixed The user credentials

PreAuthenticationGuardToken

class PreAuthenticationGuardToken extends AbstractToken implements GuardTokenInterface The token used by the guard auth system before authentication. The GuardAuthenticationListener creates this, which is then consumed immediately by the GuardAuthenticationProvider. If authentication is successful, a different authenticated token is returned Methods __construct(mixed $credentials, string $guardProviderKey) RoleInterface[] getRoles() Returns the user roles. from AbstractToken stri

PreAuthenticatedToken::getCredentials()

mixed getCredentials() Returns the user credentials. Return Value mixed The user credentials

PreAuthenticatedToken::getProviderKey()

string getProviderKey() Returns the provider key. Return Value string The provider key

PreAuthenticatedToken

class PreAuthenticatedToken extends AbstractToken PreAuthenticatedToken implements a pre-authenticated token. Methods __construct(string|object $user, mixed $credentials, string $providerKey, array $roles = array()) Constructor. RoleInterface[] getRoles() Returns the user roles. from AbstractToken string getUsername() Returns the username. from AbstractToken mixed getUser() Returns a user representation. from AbstractToken setUser(mixed $user) Sets a user. from Abstract