DefaultLogoutSuccessHandler

class DefaultLogoutSuccessHandler implements LogoutSuccessHandlerInterface Default logout success handler will redirect users to a configured path. Methods __construct(HttpUtils $httpUtils, string $targetUrl = '/') Response onLogoutSuccess(Request $request) Creates a Response object to send upon a successful logout. Details __construct(HttpUtils $httpUtils, string $targetUrl = '/') Parameters HttpUtils $httpUtils string $targetUrl

TokenStream

class TokenStream CSS selector token stream. This component is a port of the Python cssselect library, which is copyright Ian Bicking, see https://github.com/SimonSapin/cssselect. Methods TokenStream push(Token $token) Pushes a token. TokenStream freeze() Freezes stream. Token getNext() Returns next token. Token getPeek() Returns peeked token. Token[] getUsed() Returns used tokens. string getNextIdentifier() Returns nex identifier token. null|string getNextI

Specificity

class Specificity Represents a node specificity. This component is a port of the Python cssselect library, which is copyright Ian Bicking, see https://github.com/SimonSapin/cssselect. Constants A_FACTOR B_FACTOR C_FACTOR Methods __construct(int $a, int $b, int $c) Constructor. Specificity plus(Specificity $specificity) int getValue() Returns global specificity value. int compareTo(Specificity $specificity) Returns -1 if the object specificity is lower than t

AbstractNode

class AbstractNode implements NodeInterface Abstract base node class. This component is a port of the Python cssselect library, which is copyright Ian Bicking, see https://github.com/SimonSapin/cssselect. Methods string getNodeName() Details string getNodeName() Return Value string

SurrogateListener

class SurrogateListener implements EventSubscriberInterface SurrogateListener adds a Surrogate-Control HTTP header when the Response needs to be parsed for Surrogates. Methods __construct(SurrogateInterface $surrogate = null) Constructor. onKernelResponse(FilterResponseEvent $event) Filters the Response. static array getSubscribedEvents() Returns an array of event names this subscriber wants to listen to. Details __construct(SurrogateInterface $

FormRegistry::getType()

ResolvedFormTypeInterface getType(string $name) Returns a form type by name. This methods registers the type extensions from the form extensions. Parameters string $name The name of the type Return Value ResolvedFormTypeInterface The type Exceptions InvalidArgumentException if the type can not be retrieved from any extension

UserPasswordValidator

class UserPasswordValidator extends ConstraintValidator Constants PRETTY_DATE Whether to format {@link \DateTime} objects as RFC-3339 dates ("Y-m-d H:i:s"). OBJECT_TO_STRING Whether to cast objects with a "__toString()" method to strings. Methods initialize(ExecutionContextInterface $context) Initializes the constraint validator. from ConstraintValidator __construct(TokenStorageInterface $tokenStorage, EncoderFactoryInterface $encoderFactory) validate($password, Constrain

FilesystemLoader

class FilesystemLoader extends Twig_Loader_Filesystem FilesystemLoader extends the default Twig filesystem loader to work with the Symfony paths and template references. Methods __construct(FileLocatorInterface $locator, TemplateNameParserInterface $parser) Constructor. exists($name) {@inheritdoc} Details __construct(FileLocatorInterface $locator, TemplateNameParserInterface $parser) Constructor. Parameters FileLocatorInterface $locator

DOMCaster::castNameSpaceNode()

static castNameSpaceNode(DOMNameSpaceNode $dom, array $a, Stub $stub, $isNested) Parameters DOMNameSpaceNode $dom array $a Stub $stub $isNested

StructuredBundleReader::readEntry()

mixed readEntry(string $path, string $locale, array $indices, Boolean $fallback = true) Reads an entry from a resource bundle. An entry can be selected from the resource bundle by passing the path to that entry in the bundle. For example, if the bundle is structured like this: TopLevel NestedLevel Entry: Value Then the value can be read by calling: $reader->readEntry('...', 'en', array('TopLevel', 'NestedLevel', 'Entry')); Parameters string $path The path to th