EventDispatcherInterface

interface EventDispatcherInterface The EventDispatcherInterface is the central point of Symfony's event listener system. Listeners are registered on the manager and events are dispatched through the manager. Methods Event dispatch(string $eventName, Event $event = null) Dispatches an event to all registered listeners. addListener(string $eventName, callable $listener, int $priority) Adds an event listener that listens on the specified events. addSubscriber(EventSubscriberInterf

AdapterInterface deprecated::setDates()

AdapterInterface setDates(array $dates) Parameters array $dates Return Value AdapterInterface Current instance

QuarterTransformer deprecated

class QuarterTransformer extends QuarterTransformer deprecated since version 2.3, to be removed in 3.0. Use {@link \Symfony\Component\Intl\DateFormatter\DateFormat\QuarterTransformer} instead. Alias of {@link \Symfony\Component\Intl\DateFormatter\DateFormat\QuarterTransformer}. Methods string format(DateTime $dateTime, int $length) Format a value using a configured DateTime as date/time source. from QuarterTransformer string getReverseMatchingRegExp(int $length) Returns a reverse

ResolvedFormTypeFactoryInterface

interface ResolvedFormTypeFactoryInterface Creates ResolvedFormTypeInterface instances. This interface allows you to use your custom ResolvedFormTypeInterface implementation, within which you can customize the concrete FormBuilderInterface implementations or FormView subclasses that are used by the framework. Methods ResolvedFormTypeInterface createResolvedType(FormTypeInterface $type, array $typeExtensions, ResolvedFormTypeInterface $parent = null) Resolves a form type. Details

Translator::setConfigCacheFactory()

setConfigCacheFactory(ConfigCacheFactoryInterface $configCacheFactory) Sets the ConfigCache factory to use. Parameters ConfigCacheFactoryInterface $configCacheFactory

CachingFactoryDecorator::getDecoratedFactory()

ChoiceListFactoryInterface getDecoratedFactory() Returns the decorated factory. Return Value ChoiceListFactoryInterface The decorated factory

DOMCaster::castLocator()

static castLocator(DOMLocator $dom, array $a, Stub $stub, $isNested) Parameters DOMLocator $dom array $a Stub $stub $isNested

AdapterInterface deprecated::setSort()

AdapterInterface setSort(Closure|int $sort) Parameters Closure|int $sort Return Value AdapterInterface Current instance

PreAuthenticationGuardToken

class PreAuthenticationGuardToken extends AbstractToken implements GuardTokenInterface The token used by the guard auth system before authentication. The GuardAuthenticationListener creates this, which is then consumed immediately by the GuardAuthenticationProvider. If authentication is successful, a different authenticated token is returned Methods __construct(mixed $credentials, string $guardProviderKey) RoleInterface[] getRoles() Returns the user roles. from AbstractToken stri

ContainerAware deprecated

class ContainerAware implements ContainerAwareInterface deprecated since version 2.8, to be removed in 3.0. Use the ContainerAwareTrait instead. A simple implementation of ContainerAwareInterface. Methods setContainer(ContainerInterface $container = null) Sets the container. Details setContainer(ContainerInterface $container = null) Sets the container. Parameters ContainerInterface $container A ContainerInterface instance or null