ValidatorInterface deprecated::validateProperty()

ConstraintViolationListInterface validateProperty(mixed $containingValue, string $property, array|null $groups = null) Validates a property of a value against its current value. The accepted values depend on the {@link MetadataFactoryInterface} implementation. Parameters mixed $containingValue The value containing the property. string $property The name of the property to validate. array|null $groups The validation groups to validate. Return Value ConstraintViolationListInterf

FieldEntry

class FieldEntry extends Entry implements FieldEntryInterface Field-aware ACE implementation which is auditable Methods __construct(int $id, AclInterface $acl, string $field, SecurityIdentityInterface $sid, string $strategy, int $mask, bool $granting, bool $auditFailure, bool $auditSuccess) Constructor AclInterface getAcl() The ACL this ACE is associated with. from Entry int getMask() The permission mask of this ACE from Entry int getId() The primary key of this ACE from En

IcuVersion::normalize()

static string|null normalize(string $version, int|null $precision) Normalizes a version string to the number of components given in the parameter $precision. A single digit release version and a single digit major version are contracted to a two digit release version. If no major version is given, it is substituted by zero. Examples: IcuVersion::normalize('1.2.3.4'); // => '12.3.4' IcuVersion::normalize('1.2.3.4', 1); // => '12' IcuVersion::normalize('1.2.3.4',

MetadataFactoryInterface

interface MetadataFactoryInterface Returns {@link \Symfony\Component\Validator\Mapping\MetadataInterface} instances for values. Methods MetadataInterface getMetadataFor(mixed $value) Returns the metadata for the given value. bool hasMetadataFor(mixed $value) Returns whether the class is able to return metadata for the given value. Details MetadataInterface getMetadataFor(mixed $value) Returns the metadata for the given value. Parameters

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

Translator

class Translator extends Translator implements WarmableInterface Translator. Methods __construct(ContainerInterface $container, MessageSelector $selector, array $loaderIds = array(), array $options = array()) Constructor. setConfigCacheFactory(ConfigCacheFactoryInterface $configCacheFactory) Sets the ConfigCache factory to use. from Translator addLoader(string $format, LoaderInterface $loader) Adds a Loader. from Translator addResource(string $format, mixed $resource, string

ArrayChoiceList::getOriginalKeys()

int[]|string[] getOriginalKeys() Returns the original keys of the choices. The original keys are the keys of the choice array that was passed in the "choice" option of the choice type. Note that this array may contain duplicates if the "choice" option contained choice groups: $form->add('field', 'choice', array( 'choices' => array( 'Decided' => array(true, false), 'Undecided' => array(null), ), )); In this example, the original key 0 appears t

NodeDefinition::defaultValue()

NodeDefinition|$this defaultValue(mixed $value) Sets the default value. Parameters mixed $value The default value Return Value NodeDefinition|$this

RegisterListenersPass deprecated

class RegisterListenersPass extends RegisterListenersPass deprecated since version 2.5, to be removed in 3.0. Use the Symfony\Component\EventDispatcher\DependencyInjection\RegisterListenersPass class instead. Compiler pass to register tagged services for an event dispatcher. Methods __construct(string $dispatcherService = 'event_dispatcher', string $listenerTag = 'kernel.event_listener', string $subscriberTag = 'kernel.event_subscriber') Constructor. from RegisterListenersPass pr

ContainerAwareEventDispatcher::addListenerService()

addListenerService(string $eventName, array $callback, int $priority) Adds a service as event listener. Parameters string $eventName Event for which the listener is added array $callback The service ID of the listener service & the method name that has to be called int $priority The higher this value, the earlier an event listener will be triggered in the chain. Defaults to 0. Exceptions InvalidArgumentException