FormRendererInterface::searchAndRenderBlock()

string searchAndRenderBlock(FormView $view, string $blockNameSuffix, array $variables = array()) Searches and renders a block for a given name suffix. The block is searched by combining the block names stored in the form view with the given suffix. If a block name is found, that block is rendered. If this method is called recursively, the block search is continued where a block was found before. Parameters FormView $view The view for which to render the block string $blockNameS

VarDumperTestTrait

trait VarDumperTestTrait Methods assertDumpEquals($dump, $data, $message = '') assertDumpMatchesFormat($dump, $data, $message = '') Details assertDumpEquals($dump, $data, $message = '') Parameters $dump $data $message assertDumpMatchesFormat($dump, $data, $message = '') Parameters $dump $data $message

Acl::updateClassFieldAuditing()

updateClassFieldAuditing(int $index, string $field, bool $auditSuccess, bool $auditFailure) Updates auditing for class-field-based ACE Parameters int $index string $field bool $auditSuccess bool $auditFailure

RecursiveContextualValidator::validatePropertyValue()

ContextualValidatorInterface validatePropertyValue(object|string $objectOrClass, string $propertyName, mixed $value, array|null $groups = null) Validates a value against the constraints specified for an object's property. Parameters object|string $objectOrClass The object or its class name string $propertyName The name of the property mixed $value The value to validate against the property's constraints array|null $groups The validation groups to validate. If none is given, "D

ExecutionContext::getPropertyPath()

string getPropertyPath(string $subPath = '') Returns the property path to the value that the validator is currently validating. For example, take the following object graph: (Person)---($address: Address)---($street: string) When the Person instance is passed to the validator, the property path is initially empty. When the $address property of that person is validated, the property path is "address". When the $street property of the related Address instance is validated, the pr

AssetsHelper::getName()

string getName() Returns the canonical name of this helper. Return Value string The canonical name

TwigExtractor

class TwigExtractor extends AbstractFileExtractor implements ExtractorInterface TwigExtractor extracts translation messages from a twig template. Methods __construct(Twig_Environment $twig) extract(string|array $resource, MessageCatalogue $catalogue) Extracts translation messages from files, a file or a directory to the catalogue. setPrefix(string $prefix) Sets the prefix that should be used for new found messages. Details __construct(Twig_Envi

FormConfigBuilderInterface::setRequestHandler()

FormConfigBuilderInterface setRequestHandler(RequestHandlerInterface $requestHandler) Sets the request handler used by the form. Parameters RequestHandlerInterface $requestHandler Return Value FormConfigBuilderInterface The configuration object

ValidationListener

class ValidationListener implements EventSubscriberInterface Methods static array getSubscribedEvents() Returns an array of event names this subscriber wants to listen to. __construct(ValidatorInterface $validator, ViolationMapperInterface $violationMapper) validateForm(FormEvent $event) Validates the form and its domain object. Details static array getSubscribedEvents() Returns an array of event names this subscriber wants to listen to

AuthenticatedVoter

class AuthenticatedVoter implements VoterInterface AuthenticatedVoter votes if an attribute like ISAUTHENTICATEDFULLY, ISAUTHENTICATEDREMEMBERED, or ISAUTHENTICATEDANONYMOUSLY is present. This list is most restrictive to least restrictive checking. Constants IS_AUTHENTICATED_FULLY IS_AUTHENTICATED_REMEMBERED IS_AUTHENTICATED_ANONYMOUSLY Methods __construct(AuthenticationTrustResolverInterface $authenticationTrustResolver) Constructor. int vote(TokenInterface $token, mi