StreamedResponseListener::getSubscribedEvents()

static array getSubscribedEvents() Returns an array of event names this subscriber wants to listen to. The array keys are event names and the value can be: The method name to call (priority defaults to 0) An array composed of the method name to call and the priority An array of arrays composed of the method names to call and respective priorities, or 0 if unset For instance: array('eventName' => 'methodName') array('eventName' => array('methodName', $priority)) a

InMemoryUserProvider

class InMemoryUserProvider implements UserProviderInterface InMemoryUserProvider is a simple non persistent user provider. Useful for testing, demonstration, prototyping, and for simple needs (a backend with a unique admin for instance) Methods __construct(array $users = array()) Constructor. createUser(UserInterface $user) Adds a new User to the provider. UserInterface loadUserByUsername(string $username) Loads the user for the given username. UserInterface refreshUser(Us

RequestMatcher::matchHost()

matchHost(string $regexp) Adds a check for the URL host name. Parameters string $regexp A Regexp

ArgvInput

class ArgvInput extends Input ArgvInput represents an input coming from the CLI arguments. Usage: $input = new ArgvInput(); By default, the $_SERVER['argv'] array is used for the input values. This can be overridden by explicitly passing the input values in the constructor: $input = new ArgvInput($_SERVER['argv']); If you pass it yourself, don't forget that the first element of the array is the name of the running application. When passing an argument to the constructor, be sure that it re

Url

class Url extends Constraint Constants DEFAULT_GROUP The name of the group given to all constraints with no explicit group. CLASS_CONSTRAINT Marks a constraint that can be put onto classes. PROPERTY_CONSTRAINT Marks a constraint that can be put onto properties. INVALID_URL_ERROR Properties mixed $payload Domain-specific data attached to a constraint. from Constraint array $groups The groups that the constraint belongs to from Constraint $message $dnsMessage $proto

CollectionInterface

interface CollectionInterface implements Countable, IteratorAggregate, ArrayAccess Methods Entry[] toArray() Details Entry[] toArray() Return Value Entry[]

AbstractRememberMeServices::autoLogin()

final TokenInterface autoLogin(Request $request) Implementation of RememberMeServicesInterface. Detects whether a remember-me cookie was set, decodes it, and hands it to subclasses for further processing. Parameters Request $request Return Value TokenInterface Exceptions CookieTheftException RuntimeException

AbstractToken::serialize()

serialize() {@inheritdoc}

UsernameNotFoundException

class UsernameNotFoundException extends AuthenticationException UsernameNotFoundException is thrown if a User cannot be found by its username. Methods TokenInterface getToken() Get the token. from AuthenticationException setToken(TokenInterface $token) Set the token. from AuthenticationException serialize() unserialize($str) string getMessageKey() Message key to be used by the translation component. array getMessageData() Message data to be used by the translatio

Translator::addPseudoClass()

XPathExpr addPseudoClass(XPathExpr $xpath, string $pseudoClass) Parameters XPathExpr $xpath string $pseudoClass Return Value XPathExpr Exceptions ExpressionErrorException