DateValidator::validate()

validate(mixed $value, Constraint $constraint) Checks if the passed value is valid. Parameters mixed $value The value that should be validated Constraint $constraint The constraint for the validation

BufferedBundleReader::read()

mixed read(string $path, string $locale) Reads a resource bundle. Parameters string $path The path to the resource bundle. string $locale The locale to read. Return Value mixed Returns an array or {@link \ArrayAccess} instance for complex data, a scalar value otherwise.

DefaultValueResolver::resolve()

Generator resolve(Request $request, ArgumentMetadata $argument) Returns the possible value(s). Parameters Request $request ArgumentMetadata $argument Return Value Generator

Regex::getRequiredOptions()

array getRequiredOptions() Returns the name of the required options. Override this method if you want to define required options. Return Value array

TestSessionListener

class TestSessionListener implements EventSubscriberInterface TestSessionListener. Saves session in test environment. Methods onKernelRequest(GetResponseEvent $event) onKernelResponse(FilterResponseEvent $event) Checks if session was initialized and saves if current request is master Runs on 'kernel.response' in test environment. static array getSubscribedEvents() Returns an array of event names this subscriber wants to listen to. Details onKer

Validator deprecated::validatePropertyValue()

ConstraintViolationListInterface validatePropertyValue(mixed $containingValue, string $property, string $value, array|null $groups = null) Validate a property of a value against a potential 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 string $value The value to validate against the constraints of the property. a

TextType::reverseTransform()

mixed reverseTransform($data) Transforms a value from the transformed representation to its original representation. This method is called when {@link Form::submit()} is called to transform the requests tainted data into an acceptable format for your data processing/model layer. This method must be able to deal with empty values. Usually this will be an empty string, but depending on your implementation other empty values are possible as well (such as NULL). The reasoning behind

NumberFormatter::parseCurrency()

bool|string parseCurrency(string $value, string $currency, int $position = null) Not supported. Parse a currency number. Parameters string $value The value to parse string $currency Parameter to receive the currency name (reference) int $position Offset to begin the parsing on return this value will hold the offset at which the parsing ended Return Value bool|string The parsed numeric value of false on error Exceptions MethodNotImplementedException See also http://www.php.net/

AclInterface::isFieldGranted()

bool isFieldGranted(string $field, array $masks, array $securityIdentities, bool $administrativeMode = false) Determines whether field access is granted Parameters string $field array $masks array $securityIdentities bool $administrativeMode Return Value bool

Regex

class Regex implements ValueInterface Constants START_FLAG END_FLAG BOUNDARY JOKER ESCAPING Methods static Regex create(string $expr) __construct(string $pattern, string $options = '', string $delimiter = null) string __toString() string render() Renders string representation of expression. string renderPattern() Renders string representation of pattern. bool isCaseSensitive() Returns value case sensitivity. int getType() Returns expre