DataCollectorTranslator::getCatalogue()

MessageCatalogueInterface getCatalogue(string|null $locale = null) Gets the catalogue by locale. Parameters string|null $locale The locale or null to use the default Return Value MessageCatalogueInterface Exceptions InvalidArgumentException If the locale contains invalid characters

DataCollectorTranslator

class DataCollectorTranslator implements TranslatorInterface, TranslatorBagInterface Constants MESSAGE_DEFINED MESSAGE_MISSING MESSAGE_EQUALS_FALLBACK Methods __construct(TranslatorInterface $translator) string trans(string $id, array $parameters = array(), string|null $domain = null, string|null $locale = null) Translates the given message. string transChoice(string $id, int $number, array $parameters = array(), string|null $domain = null, string|null $locale = nu

DataCollectorListener::postSubmit()

postSubmit(FormEvent $event) Listener for the {@link FormEvents::POST_SUBMIT} event. Parameters FormEvent $event The event object

DataCollectorListener::postSetData()

postSetData(FormEvent $event) Listener for the {@link FormEvents::POSTSETDATA} event. Parameters FormEvent $event The event object

DataCollectorListener::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

DataCollectorListener

class DataCollectorListener implements EventSubscriberInterface Listener that invokes a data collector for the {@link FormEvents::POSTSETDATA} and {@link FormEvents::POST_SUBMIT} events. Methods __construct(FormDataCollectorInterface $dataCollector) static array getSubscribedEvents() Returns an array of event names this subscriber wants to listen to. postSetData(FormEvent $event) Listener for the {@link FormEvents::POSTSETDATA} event. postSubmit(FormEvent $event) Listener

DataCollectorInterface::getName()

string getName() Returns the name of the collector. Return Value string The collector name

DataCollectorInterface::collect()

collect(Request $request, Response $response, Exception $exception = null) Collects data for the given Request and Response. Parameters Request $request A Request instance Response $response A Response instance Exception $exception An Exception instance

DataCollectorInterface

interface DataCollectorInterface DataCollectorInterface. Methods collect(Request $request, Response $response, Exception $exception = null) Collects data for the given Request and Response. string getName() Returns the name of the collector. Details collect(Request $request, Response $response, Exception $exception = null) Collects data for the given Request and Response. Parameters Request $request A Request instance Response $response

DataCollectorExtension

class DataCollectorExtension extends AbstractExtension Extension for collecting data of the forms on a page. Methods FormTypeInterface getType(string $name) Returns a type by name. from AbstractExtension bool hasType(string $name) Returns whether the given type is supported. from AbstractExtension FormTypeExtensionInterface[] getTypeExtensions(string $name) Returns the extensions for the given type. from AbstractExtension bool hasTypeExtensions(string $name) Returns whether t