Component\DependencyInjection\Compiler

Classes AnalyzeServiceReferencesPass Run this pass before passes that need to know more about the relation of your services. CheckCircularReferencesPass Checks your services for circular references CheckDefinitionValidityPass This pass validates each definition individually only taking the information into account which is contained in the definition itself. CheckExceptionOnInvalidReferenceBehaviorPass Checks that all references are pointing to a valid service. CheckReferenceVa

ExecutionContextInterface::buildViolation()

ConstraintViolationBuilderInterface buildViolation(string $message, array $parameters = array()) Returns a builder for adding a violation with extended information. Call {@link ConstraintViolationBuilderInterface::addViolation()} to add the violation when you're done with the configuration: $context->buildViolation('Please enter a number between %min% and %max%.') ->setParameter('%min%', 3) ->setParameter('%max%', 10) ->setTranslationDomain('number_valida

HttpFoundationExtension

class HttpFoundationExtension extends AbstractExtension Integrates the HttpFoundation component with the Form library. Methods FormTypeInterface getType(string $name) Returns a type by name. from AbstractExtension Boolean 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 Boolean hasTypeExtensions(string $name) R

TraceableEventDispatcher::getListeners()

array getListeners(string $eventName = null) Gets the listeners of a specific event or all listeners sorted by descending priority. Parameters string $eventName The name of the event Return Value array The event listeners for the specified event, or all event listeners by event name

ArrayInput::getParameterOption()

mixed getParameterOption(string|array $values, mixed $default = false, bool $onlyParams = false) Returns the value of a raw option (not parsed). This method is to be used to introspect the input parameters before they have been validated. It must be used carefully. Parameters string|array $values The value(s) to look for in the raw parameters (can be an array) mixed $default The default value to return if no result is found bool $onlyParams Only check real parameters, skip thos

FormConfigBuilder::getCompound()

bool getCompound() Returns whether the form is compound. This property is independent of whether the form actually has children. A form can be compound and have no children at all, like for example an empty collection form. Return Value bool Whether the form is compound

FileType::finishView()

finishView(FormView $view, FormInterface $form, array $options) Finishes the form view. This method gets called for each type in the hierarchy starting from the top most type. Type extensions can further modify the view. When this method is called, views of the form's children have already been built and finished and can be accessed. You should only implement such logic in this method that actually accesses child views. For everything else you are recommended to implement {@link buil

SimplePreAuthenticationFactory::getKey()

getKey()

TwigLoaderPass

class TwigLoaderPass implements CompilerPassInterface Adds services tagged twig.loader as Twig loaders. 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

DoctrineDataCollector::getConnections()

getConnections()