Ubiquity 2.5.2
php rapid development framework
Loading...
Searching...
No Matches
ConstraintViolation Class Reference

Constraint Violation Generated During Validation with the ValidatorsManager. More...

Public Member Functions

 __construct ($message, $value, $member, $validatorType, $severity)
 
 getMessage ()
 
 getValue ()
 
 getMember ()
 
 getValidatorType ()
 
 getSeverity ()
 
 setMessage ($message)
 
 setValue ($value)
 
 setMember ($member)
 
 setValidatorType ($validatorType)
 
 setSeverity ($severity)
 
 __toString ()
 

Protected Attributes

 $message
 
 $value
 
 $member
 
 $validatorType
 
 $severity
 

Detailed Description

Constraint Violation Generated During Validation with the ValidatorsManager.

Ubiquity\contents\validation\validators$ConstraintViolation This class is part of Ubiquity

Author
jcheron myadd.nosp@m.ress.nosp@m.mail@.nosp@m.gmai.nosp@m.l.com
Version
1.0.0

Definition at line 18 of file ConstraintViolation.php.

Constructor & Destructor Documentation

◆ __construct()

__construct (   $message,
  $value,
  $member,
  $validatorType,
  $severity 
)

Definition at line 25 of file ConstraintViolation.php.

Member Function Documentation

◆ __toString()

__toString ( )

Definition at line 113 of file ConstraintViolation.php.

◆ getMember()

getMember ( )
Returns
mixed

Definition at line 53 of file ConstraintViolation.php.

◆ getMessage()

getMessage ( )
Returns
mixed

Definition at line 37 of file ConstraintViolation.php.

◆ getSeverity()

getSeverity ( )
Returns
mixed

Definition at line 69 of file ConstraintViolation.php.

◆ getValidatorType()

getValidatorType ( )
Returns
mixed

Definition at line 61 of file ConstraintViolation.php.

◆ getValue()

getValue ( )
Returns
mixed

Definition at line 45 of file ConstraintViolation.php.

◆ setMember()

setMember (   $member)
Parameters
mixed$member

Definition at line 93 of file ConstraintViolation.php.

◆ setMessage()

setMessage (   $message)
Parameters
mixed$message

Definition at line 77 of file ConstraintViolation.php.

◆ setSeverity()

setSeverity (   $severity)
Parameters
mixed$severity

Definition at line 109 of file ConstraintViolation.php.

◆ setValidatorType()

setValidatorType (   $validatorType)
Parameters
mixed$validatorType

Definition at line 101 of file ConstraintViolation.php.

◆ setValue()

setValue (   $value)
Parameters
mixed$value

Definition at line 85 of file ConstraintViolation.php.

Field Documentation

◆ $member

$member
protected

Definition at line 21 of file ConstraintViolation.php.

◆ $message

$message
protected

Definition at line 19 of file ConstraintViolation.php.

◆ $severity

$severity
protected

Definition at line 23 of file ConstraintViolation.php.

◆ $validatorType

$validatorType
protected

Definition at line 22 of file ConstraintViolation.php.

◆ $value

$value
protected

Definition at line 20 of file ConstraintViolation.php.


The documentation for this class was generated from the following file: