SilverStripe\Core\Validation
Namespaces
Classes
Helper class to abstract away wiring up symfony/validator and getting ValidationResult from validating symfony validator constraints.
A class that combined as a boolean result with an optional list of error messages.
Interfaces
Interface for classes that can be validated.
Exceptions
Exception thrown by DataObject::write if validation fails. By throwing an exception rather than a user error, the exception can be caught in unit tests and as such can be used as a successful test.