GroupSequenceProviderInterface

interface GroupSequenceProviderInterface Defines the interface for a group sequence provider. Methods array getGroupSequence() Returns which validation groups should be used for a certain state of the object. Details array getGroupSequence() Returns which validation groups should be used for a certain state of the object. Return Value array An array of validation groups

GreaterThanOrEqualValidator

class GreaterThanOrEqualValidator extends AbstractComparisonValidator Validates values are greater than or equal to the previous (>=). 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 $constr

Groups

class Groups Annotation class for @Groups(). Methods __construct(array $data) array getGroups() Gets groups. Details __construct(array $data) Parameters array $data Exceptions InvalidArgumentException array getGroups() Gets groups. Return Value array

GroupDefinitionException

class GroupDefinitionException extends ValidatorException

GroupSequence

class GroupSequence A sequence of validation groups. When validating a group sequence, each group will only be validated if all of the previous groups in the sequence succeeded. For example: $validator->validate($address, null, new GroupSequence(array('Basic', 'Strict'))); In the first step, all constraints that belong to the group "Basic" will be validated. If none of the constraints fail, the validator will then validate the constraints in group "Strict". This is useful, for example, i

GreaterThanValidator

class GreaterThanValidator extends AbstractComparisonValidator Validates values are greater than the previous (>). 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

GreaterThanOrEqual

class GreaterThanOrEqual 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. TOO_LOW_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 $va

GreaterThan

class GreaterThan 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. TOO_LOW_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 $value fr

GraphvizDumper

class GraphvizDumper extends Dumper GraphvizDumper dumps a service container as a graphviz file. You can convert the generated dot file with the dot utility (http://www.graphviz.org/): dot -Tpng container.dot > foo.png Methods __construct(ContainerBuilder $container) from Dumper string dump(array $options = array()) Dumps the service container as a graphviz graph. Details __construct(ContainerBuilder $container) Parameters ContainerBui

GoneHttpException

class GoneHttpException extends HttpException GoneHttpException. Methods __construct($message = null, Exception $previous = null, $code) Constructor. int getStatusCode() Returns the status code. from HttpException array getHeaders() Returns response headers. from HttpException Details __construct($message = null, Exception $previous = null, $code) Constructor. Parameters $message Exception $previous $code