ContainerBuilder::getExtension()

ExtensionInterface getExtension(string $name) Returns an extension by alias or namespace. Parameters string $name An alias or a namespace Return Value ExtensionInterface An extension instance Exceptions LogicException if the extension is not registered

DateValidator

class DateValidator 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. PATTERN Methods initialize(ExecutionContextInterface $context) Initializes the constraint validator. from ConstraintValidator static bool checkDate(int $year, int $month, int $day) Checks whether a date is valid. validate(mixed $value, Constr

MockArraySessionStorage::setSessionData()

setSessionData(array $array) Sets the session data. Parameters array $array

Component\Finder\Iterator

Classes CustomFilterIterator CustomFilterIterator filters files by applying anonymous functions. DateRangeFilterIterator DateRangeFilterIterator filters out files that are not in the given date range (last modified dates). DepthRangeFilterIterator DepthRangeFilterIterator limits the directory depth. ExcludeDirectoryFilterIterator ExcludeDirectoryFilterIterator filters out directories. FilePathsIterator Iterate over shell command result. FileTypeFilterIterator FileTypeFilt

AcceptHeader::fromString()

static AcceptHeader fromString(string $headerValue) Builds an AcceptHeader instance from a string. Parameters string $headerValue Return Value AcceptHeader

TableHelper deprecated::setCellRowContentFormat()

TableHelper setCellRowContentFormat(string $cellRowContentFormat) Sets row cell content format. Parameters string $cellRowContentFormat Return Value TableHelper

Component\DependencyInjection

Namespaces Symfony\Component\DependencyInjection\CompilerSymfony\Component\DependencyInjection\DumperSymfony\Component\DependencyInjection\ExceptionSymfony\Component\DependencyInjection\ExtensionSymfony\Component\DependencyInjection\LazyProxySymfony\Component\DependencyInjection\LoaderSymfony\Component\DependencyInjection\ParameterBag Classes Alias Container Container is a dependency injection container. ContainerAware A simple implementation of ContainerAwareInterface. Container

LogoutUrlGenerator::registerListener()

registerListener(string $key, string $logoutPath, string $csrfTokenId, string $csrfParameter, CsrfTokenManagerInterface $csrfTokenManager = null) Registers a firewall's LogoutListener, allowing its URL to be generated. Parameters string $key The firewall key string $logoutPath The path that starts the logout process string $csrfTokenId The ID of the CSRF token string $csrfParameter The CSRF token parameter name CsrfTokenManagerInterface $csrfTokenManager A CsrfTokenManagerInterface

ExtensionPass

class ExtensionPass implements CompilerPassInterface Methods process(ContainerBuilder $container) You can modify the container here before it is dumped to PHP code. Details process(ContainerBuilder $container) You can modify the container here before it is dumped to PHP code. Parameters ContainerBuilder $container

SwiftMailerHandler::onCliTerminate()

onCliTerminate(ConsoleTerminateEvent $event) After the CLI application has been terminated we will always flush messages. Parameters ConsoleTerminateEvent $event