AbstractToken::getUsername()

string getUsername() Returns the username. Return Value string

AbstractToken::setAttributes()

setAttributes(array $attributes) Sets the token attributes. Parameters array $attributes The token attributes

AbstractToken::isAuthenticated()

bool isAuthenticated() Returns whether the user is authenticated or not. Return Value bool true if the token has been authenticated, false otherwise

AbstractToken

class AbstractToken implements TokenInterface Base class for Token instances. Methods __construct(array $roles = array()) Constructor. RoleInterface[] getRoles() Returns the user roles. string getUsername() Returns the username. mixed getUser() Returns a user representation. setUser(mixed $user) Sets the user in the token. bool isAuthenticated() Returns whether the user is authenticated or not. setAuthenticated($authenticated) Sets the authenticated flag.

AbstractToken::getRoles()

RoleInterface[] getRoles() Returns the user roles. Return Value RoleInterface[] An array of RoleInterface instances.

AbstractToken::getAttributes()

array getAttributes() Returns the token attributes. Return Value array The token attributes

AbstractToken::eraseCredentials()

eraseCredentials() Removes sensitive information from the token.

AbstractToken::getAttribute()

mixed getAttribute(string $name) Returns an attribute value. Parameters string $name The attribute name Return Value mixed The attribute value Exceptions InvalidArgumentException When attribute doesn't exist for this token

AbstractSurrogateFragmentRenderer

class AbstractSurrogateFragmentRenderer extends RoutableFragmentRenderer Implements Surrogate rendering strategy. Methods setFragmentPath(string $path) Sets the fragment path that triggers the fragment listener. from RoutableFragmentRenderer __construct(SurrogateInterface $surrogate = null, FragmentRendererInterface $inlineStrategy, UriSigner $signer = null) Constructor. Response render(string|ControllerReference $uri, Request $request, array $options = array()) Renders a URI an

AbstractRendererEngine::setTheme()

setTheme(FormView $view, mixed $themes) Sets the theme(s) to be used for rendering a view and its children. Parameters FormView $view The view to assign the theme(s) to mixed $themes The theme(s). The type of these themes is open to the implementation.