StaticMethodLoader

class StaticMethodLoader implements LoaderInterface Loads validation metadata by calling a static method on the loaded class. Methods __construct(string $methodName = 'loadValidatorMetadata') Creates a new loader. bool loadClassMetadata(ClassMetadata $metadata) Loads validation metadata into a {@link ClassMetadata} instance. Details __construct(string $methodName = 'loadValidatorMetadata') Creates a new loader. Parameters string $method

ClosureLoader

class ClosureLoader extends Loader ClosureLoader loads service definitions from a PHP closure. The Closure has access to the container as its first argument. Methods LoaderResolverInterface getResolver() Gets the loader resolver. from Loader setResolver(LoaderResolverInterface $resolver) Sets the loader resolver. from Loader mixed import(mixed $resource, string|null $type = null) Imports a resource. from Loader LoaderInterface resolve(mixed $resource, string|null $type = null

IdenticalTo

class IdenticalTo extends AbstractComparison Constants DEFAULT_GROUP The name of the group given to all constraints with no explicit group. CLASS_CONSTRAINT Marks a constraint that can be put onto classes. PROPERTY_CONSTRAINT Marks a constraint that can be put onto properties. NOT_IDENTICAL_ERROR Properties mixed $payload Domain-specific data attached to a constraint. from Constraint array $groups The groups that the constraint belongs to from Constraint $message $val

UuidValidator

class UuidValidator extends ConstraintValidator Validates whether the value is a valid UUID per RFC 4122. Constants PRETTY_DATE Whether to format {@link \DateTime} objects as RFC-3339 dates ("Y-m-d H:i:s"). OBJECT_TO_STRING Whether to cast objects with a "__toString()" method to strings. STRICT_LENGTH STRICT_FIRST_HYPHEN_POSITION STRICT_LAST_HYPHEN_POSITION STRICT_VERSION_POSITION STRICT_VARIANT_POSITION LOOSE_MAX_LENGTH LOOSE_FIRST_HYPHEN_POSITION Method

TransChoiceTokenParser::parse()

Twig_Node parse(Twig_Token $token) Parses a token and returns a node. Parameters Twig_Token $token A Twig_Token instance Return Value Twig_Node A Twig_Node instance Exceptions Twig_Error_Syntax

SyntaxError

class SyntaxError extends LogicException Methods __construct($message, $cursor) Details __construct($message, $cursor) Parameters $message $cursor

IsbnValidator

class IsbnValidator extends ConstraintValidator Validates whether the value is a valid ISBN-10 or ISBN-13. Constants PRETTY_DATE Whether to format {@link \DateTime} objects as RFC-3339 dates ("Y-m-d H:i:s"). OBJECT_TO_STRING Whether to cast objects with a "__toString()" method to strings. Methods initialize(ExecutionContextInterface $context) Initializes the constraint validator. from ConstraintValidator validate(mixed $value, Constraint $constraint) Checks if the passed valu

VersionStrategyInterface

interface VersionStrategyInterface Asset version strategy interface. Methods string getVersion(string $path) Returns the asset version for an asset. string applyVersion(string $path) Applies version to the supplied path. Details string getVersion(string $path) Returns the asset version for an asset. Parameters string $path A path Return Value string The version string string applyVersion(string $path)

EmptyVersionStrategy

class EmptyVersionStrategy implements VersionStrategyInterface Disable version for all assets. Methods string getVersion(string $path) Returns the asset version for an asset. string applyVersion(string $path) Applies version to the supplied path. Details string getVersion(string $path) Returns the asset version for an asset. Parameters string $path A path Return Value string The version string string applyVe

FileLoader

class FileLoader extends ArrayLoader Methods MessageCatalogue load(mixed $resource, string $locale, string $domain = 'messages') Loads a locale. Details MessageCatalogue load(mixed $resource, string $locale, string $domain = 'messages') Loads a locale. Parameters mixed $resource A resource string $locale A locale string $domain The domain Return Value MessageCatalogue A MessageCatalogue instance Exceptions NotFoundResourceException when the res