LoaderChain

class LoaderChain implements LoaderInterface Calls multiple {@link LoaderInterface} instances in a chain. This class accepts multiple instances of LoaderInterface to be passed to the constructor. When {@link loadClassMetadata()} is called, the same method is called in all of these loaders, regardless of whether any of them was successful or not. Methods __construct(array $loaders) Accepts a list of LoaderInterface instances. bool loadClassMetadata(ClassMetadataInterface $metadata) L

Loader

class Loader implements LoaderInterface Loader is the base class for all template loader classes. Methods setLogger(LoggerInterface $logger) Sets the debug logger to use for this loader. Details setLogger(LoggerInterface $logger) Sets the debug logger to use for this loader. Parameters LoggerInterface $logger A logger instance

Loader

class Loader implements LoaderInterface Loader is the abstract class used by all built-in loaders. Methods LoaderResolverInterface getResolver() Gets the loader resolver. setResolver(LoaderResolverInterface $resolver) Sets the loader resolver. mixed import(mixed $resource, string|null $type = null) Imports a resource. LoaderInterface resolve(mixed $resource, string|null $type = null) Finds a loader able to load an imported resource. Details Load

ListenerInterface

interface ListenerInterface Interface that must be implemented by firewall listeners. Methods handle(GetResponseEvent $event) This interface must be implemented by firewall listeners. Details handle(GetResponseEvent $event) This interface must be implemented by firewall listeners. Parameters GetResponseEvent $event

ListCommand

class ListCommand extends Command ListCommand displays the list of all available commands for the application. Methods __construct(string|null $name = null) Constructor. from Command ignoreValidationErrors() Ignores validation errors. from Command setApplication(Application $application = null) Sets the application instance for this command. from Command setHelperSet(HelperSet $helperSet) Sets the helper set. from Command HelperSet getHelperSet() Gets the helper set. fro

LintCommand

class LintCommand extends LintCommand implements ContainerAwareInterface Command that will validate your template syntax and output encountered errors. Traits ContainerAwareTrait ContainerAware trait. Methods __construct(string|null $name = 'lint:twig') Constructor. from LintCommand ignoreValidationErrors() Ignores validation errors. from Command setApplication(Application $application = null) Sets the application instance for this command. from Command setHelperSet(Hel

LintCommand

class LintCommand extends Command Command that will validate your template syntax and output encountered errors. Methods __construct(string|null $name = 'lint:twig') Constructor. ignoreValidationErrors() Ignores validation errors. from Command setApplication(Application $application = null) Sets the application instance for this command. from Command setHelperSet(HelperSet $helperSet) Sets the helper set. from Command HelperSet getHelperSet() Gets the helper set. from C

Link

class Link extends AbstractUriElement Link represents an HTML link (an HTML a, area or link tag). Methods __construct(DOMElement $node, string $currentUri, string $method = 'GET') from AbstractUriElement DOMElement getNode() Gets the node associated with this link. from AbstractUriElement string getMethod() Gets the method associated with this link. from AbstractUriElement string getUri() Gets the URI associated with this link. from AbstractUriElement Details

Lexer

class Lexer Lexes an expression. Methods TokenStream tokenize(string $expression) Tokenizes an expression. Details TokenStream tokenize(string $expression) Tokenizes an expression. Parameters string $expression The expression to tokenize Return Value TokenStream A token stream instance Exceptions SyntaxError

LessThanValidator

class LessThanValidator extends AbstractComparisonValidator Validates values are less than the previous (<). 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 validate(mixed $value, Constraint $constraint) Checks if the passed