ConstraintViolationBuilder::atPath()

ConstraintViolationBuilderInterface atPath(string $path) Stores the property path at which the violation should be generated. The passed path will be appended to the current property path of the execution context. Parameters string $path The property path Return Value ConstraintViolationBuilderInterface This builder

AbstractTypeExtension::configureOptions()

configureOptions(OptionsResolver $resolver) Configures the options for this type. Parameters OptionsResolver $resolver The resolver for the options.

XPathExpr::join()

XPathExpr join(string $combiner, XPathExpr $expr) Joins another XPathExpr with a combiner. Parameters string $combiner XPathExpr $expr Return Value XPathExpr

ExecutionContext deprecated::getPropertyName()

string|null getPropertyName() Returns the property name of the current node. If the metadata of the current node does not implement {@link PropertyMetadataInterface} or if no metadata is available for the current node, this method returns null. Return Value string|null The property name or null, if no property name could be found.

LoggerDataCollector

class LoggerDataCollector extends DataCollector implements LateDataCollectorInterface LogDataCollector. Methods serialize() from DataCollector unserialize($data) from DataCollector __construct($logger = null) collect(Request $request, Response $response, Exception $exception = null) Collects data for the given Request and Response. lateCollect() Collects data as late as possible. array getLogs() Gets the logs. getPriorities() countErrors() count

AdapterInterface deprecated::setNames()

AdapterInterface setNames(array $names) Parameters array $names Return Value AdapterInterface Current instance

LazyLoadingMetadataFactory::hasMetadataFor()

bool hasMetadataFor(mixed $value) Returns whether the class is able to return metadata for the given value. Parameters mixed $value Some value Return Value bool Whether metadata can be returned for that value

HttpDigestFactory::getKey()

string getKey() Defines the configuration key used to reference the provider in the firewall configuration. Return Value string

OptionsResolver::addAllowedValues()

OptionsResolver addAllowedValues(string $option, mixed $allowedValues) Adds allowed values for an option. The values are merged with the allowed values defined previously. Instead of passing values, you may also pass a closures with the following signature: function ($value) { // return true or false } The closure receives the value as argument and should return true to accept the value and false to reject the value. Parameters string $option The option name mixed $allowe

XPathExpr::addNameTest()

XPathExpr addNameTest() Return Value XPathExpr