ConstraintViolationBuilderInterface

interface ConstraintViolationBuilderInterface Builds {@link \Symfony\Component\Validator\ConstraintViolationInterface} objects. Use the various methods on this interface to configure the built violation. Finally, call {@link addViolation()} to add the violation to the current execution context. Methods ConstraintViolationBuilderInterface atPath(string $path) Stores the property path at which the violation should be generated. ConstraintViolationBuilderInterface setParameter(string $

Ldap::getEntryManager()

EntryManagerInterface getEntryManager() Return Value EntryManagerInterface

ChainAdapter::saveDeferred()

saveDeferred(CacheItemInterface $item) {@inheritdoc} Parameters CacheItemInterface $item

FormDataCollector::associateFormWithView()

associateFormWithView(FormInterface $form, FormView $view) Specifies that the given objects represent the same conceptual form. Parameters FormInterface $form A form object FormView $view A view object

RequestDataCollector::getSessionAttributes()

getSessionAttributes()

Definition::addAutowiringType()

Definition addAutowiringType(string $type) Adds a type that will default to this definition. Parameters string $type Return Value Definition The current instance

FileExistenceResource::isFresh()

bool isFresh(int $timestamp) Returns true if the resource has not been updated since the given timestamp. Parameters int $timestamp The last time the resource was loaded Return Value bool True if the resource has not been updated, false otherwise

UrlType::getParent()

string|null getParent() Returns the name of the parent type. Return Value string|null The name of the parent type if any, null otherwise

OptionsResolverInterface deprecated::setAllowedValues()

OptionsResolverInterface setAllowedValues(array $allowedValues) Sets allowed values for a list of options. Parameters array $allowedValues A list of option names as keys and arrays with values acceptable for that option as values. Return Value OptionsResolverInterface The resolver instance. Exceptions InvalidOptionsException If an option has not been defined (see {@link isKnown()}) for which an allowed value is set.

EngineInterface::supports()

bool supports(string|TemplateReferenceInterface $name) Returns true if this class is able to render the given template. Parameters string|TemplateReferenceInterface $name A template name or a TemplateReferenceInterface instance Return Value bool true if this class supports the given template, false otherwise