1 | <?php |
||
13 | class ValidationResult |
||
14 | { |
||
15 | /** |
||
16 | * @var string |
||
17 | */ |
||
18 | public $sPropertyName = ''; |
||
19 | |||
20 | /** |
||
21 | * @var bool |
||
22 | */ |
||
23 | public $bIsValid = false; |
||
24 | |||
25 | /** |
||
26 | * @var string |
||
27 | */ |
||
28 | public $sErrorMessage = ''; |
||
29 | |||
30 | /** |
||
31 | * ValidationResult constructor. |
||
32 | * @param string $sPropertyName |
||
33 | * @param boolean $bIsValid |
||
34 | * @param string $sErrorMessage |
||
35 | */ |
||
36 | 4 | public function __construct($sPropertyName, $bIsValid, $sErrorMessage) |
|
45 | } |