PHP Class Respect\Validation\Exceptions\NestedValidationException

Inheritance: extends ValidationException, implements IteratorAggregat\IteratorAggregate
Afficher le fichier Open project: respect/validation Class Usage Examples

Méthodes publiques

Méthode Description
addRelated ( ValidationException $exception ) : self
findMessages ( array $paths ) : self
findRelated ( $path ) : Exception
getFullMessage ( ) : string
getIterator ( ) : SplObjectStorage
getMessages ( ) : array
getRelated ( ) : SplObjectStorage
getRelatedByName ( $name ) : ValidationException
setParam ( string $name, mixed $value ) : self
setRelated ( array $exceptions ) : self

Private Methods

Méthode Description
getExceptionForPath ( string $path, ValidationException $exception ) : ValidationException
getRecursiveIterator ( ) : RecursiveIteratorIterator
isRelated ( $name, ValidationException $exception ) : boolean

Method Details

addRelated() public méthode

public addRelated ( ValidationException $exception ) : self
$exception ValidationException
Résultat self

findMessages() public méthode

public findMessages ( array $paths ) : self
$paths array
Résultat self

findRelated() public méthode

public findRelated ( $path ) : Exception
Résultat Exception

getFullMessage() public méthode

public getFullMessage ( ) : string
Résultat string

getIterator() public méthode

public getIterator ( ) : SplObjectStorage
Résultat SplObjectStorage

getMessages() public méthode

public getMessages ( ) : array
Résultat array

getRelated() public méthode

public getRelated ( ) : SplObjectStorage
Résultat SplObjectStorage

getRelatedByName() public méthode

public getRelatedByName ( $name ) : ValidationException
Résultat ValidationException

setParam() public méthode

public setParam ( string $name, mixed $value ) : self
$name string
$value mixed
Résultat self

setRelated() public méthode

public setRelated ( array $exceptions ) : self
$exceptions array
Résultat self