TokenInterface::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

TokenGeneratorInterface

interface TokenGeneratorInterface Generates CSRF tokens. Methods string generateToken() Generates a CSRF token. Details string generateToken() Generates a CSRF token. Return Value string The generated CSRF token

TokenBasedRememberMeServices

class TokenBasedRememberMeServices extends AbstractRememberMeServices Concrete implementation of the RememberMeServicesInterface providing remember-me capabilities without requiring a TokenProvider. Constants COOKIE_DELIMITER Methods __construct(array $userProviders, string $secret, string $providerKey, array $options = array(), LoggerInterface $logger = null) Constructor. from AbstractRememberMeServices string getRememberMeParameter() Returns the parameter that is used for che

Token::isString()

bool isString() Return Value bool

Token::isNumber()

bool isNumber() Return Value bool

Token::isWhitespace()

bool isWhitespace() Return Value bool

Token::isIdentifier()

bool isIdentifier() Return Value bool

Token::isFileEnd()

bool isFileEnd() Return Value bool

Token

class Token Represents a Token. Constants EOF_TYPE NAME_TYPE NUMBER_TYPE STRING_TYPE OPERATOR_TYPE PUNCTUATION_TYPE Properties $value $type $cursor Methods __construct(int $type, string $value, int $cursor) Constructor. string __toString() Returns a string representation of the token. bool test(array|int $type, string|null $value = null) Tests the current token for a type and/or a value. Details __construc

Token::isDelimiter()

bool isDelimiter(array $values = array()) Parameters array $values Return Value bool