ExecutionContextInterface::getViolations()

ConstraintViolationListInterface getViolations() Returns the violations generated by the validator so far. Return Value ConstraintViolationListInterface The constraint violation list

ConfigDataCollector::hasXDebug()

bool hasXDebug() Returns true if the XDebug is enabled. Return Value bool true if XDebug is enabled, false otherwise

Component\Templating

Namespaces Symfony\Component\Templating\AssetSymfony\Component\Templating\HelperSymfony\Component\Templating\LoaderSymfony\Component\Templating\Storage Classes DelegatingEngine DelegatingEngine selects an engine for a given template. PhpEngine PhpEngine is an engine able to render PHP templates. TemplateNameParser TemplateNameParser is the default implementation of TemplateNameParserInterface. TemplateReference Internal representation of a template. Interfaces DebuggerInter

ExecutionContext::getObject()

object|null getObject() Returns the currently validated object. If the validator is currently validating a class constraint, the object of that class is returned. If it is a validating a property or getter constraint, the object that the property/getter belongs to is returned. In other cases, null is returned. Return Value object|null The currently validated object or null

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