Default implementation of {@link ExecutionContextInterface}.
This class is immutable by design.
@author Fabien Potencier <fabien@symfony.com> @author Bernhard Schussek <bschussek@gmail.com>
Expanded class hierarchy of ExecutionContext
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ExecutionContext:: |
private | property | ||
ExecutionContext:: |
private | property | ||
ExecutionContext:: |
private | property | ||
ExecutionContext:: |
private | property | ||
ExecutionContext:: |
private | property | ||
ExecutionContext:: |
private | property | ||
ExecutionContext:: |
private | property | ||
ExecutionContext:: |
public | function |
Adds a violation at the current node of the validation graph. Overrides ExecutionContextInterface:: |
|
ExecutionContext:: |
public | function |
Adds a violation at the validation graph node with the given property
path relative to the current property path. Overrides ExecutionContextInterface:: |
|
ExecutionContext:: |
private | function | Executes the validators of the given constraints for the given value. | |
ExecutionContext:: |
public | function |
Returns the class name of the current node. Overrides ExecutionContextInterface:: |
|
ExecutionContext:: |
public | function |
Returns the validation group that is currently being validated. Overrides ExecutionContextInterface:: |
|
ExecutionContext:: |
public | function |
Returns the metadata for the currently validated value. Overrides ExecutionContextInterface:: |
|
ExecutionContext:: |
public | function |
Returns the used metadata factory. Overrides ExecutionContextInterface:: |
|
ExecutionContext:: |
public | function | ||
ExecutionContext:: |
public | function |
Returns the property name of the current node. Overrides ExecutionContextInterface:: |
|
ExecutionContext:: |
public | function |
Returns the property path to the value that the validator is currently
validating. Overrides ExecutionContextInterface:: |
|
ExecutionContext:: |
public | function |
Returns the value at which validation was started in the object graph. Overrides ExecutionContextInterface:: |
|
ExecutionContext:: |
public | function |
Returns the value that the validator is currently validating. Overrides ExecutionContextInterface:: |
|
ExecutionContext:: |
public | function |
Returns the violations generated by the validator so far. Overrides ExecutionContextInterface:: |
|
ExecutionContext:: |
private | function | Returns an array of group names. | |
ExecutionContext:: |
public | function |
Validates the given value within the scope of the current validation. Overrides ExecutionContextInterface:: |
|
ExecutionContext:: |
public | function |
Validates a value against a constraint. Overrides ExecutionContextInterface:: |
|
ExecutionContext:: |
public | function | Creates a new execution context. |