ILIAS
trunk Revision v11.0_alpha-1831-g8615d53dadb
|
Public Member Functions | |
__construct (string $message, string $languageId,... $languageValues) | |
Construct a violation on a constraint. More... | |
getTranslatedMessage (callable $txt) | |
Private Attributes | |
string | $languageId |
array | $languageValues |
Definition at line 29 of file ConstraintViolationException.php.
ILIAS\Refinery\ConstraintViolationException::__construct | ( | string | $message, |
string | $languageId, | ||
$languageValues | |||
) |
Construct a violation on a constraint.
string | $message | - developer-readable message in english. |
string | $languageId | - id of a human-readable string in the "violation" lng-module |
mixed | ...$languageValues - values to be substituted in the lng-variable |
Definition at line 41 of file ConstraintViolationException.php.
References ILIAS\Refinery\ConstraintViolationException\$languageId, ILIAS\Refinery\ConstraintViolationException\$languageValues, ILIAS\GlobalScreen\Provider\__construct(), and languageId.
ILIAS\Refinery\ConstraintViolationException::getTranslatedMessage | ( | callable | $txt | ) |
Definition at line 52 of file ConstraintViolationException.php.
References $txt, and languageId.
Referenced by ILIAS\Tests\Refinery\ConstraintViolationExceptionTest\testTranslationOfMessage().
|
private |
Definition at line 31 of file ConstraintViolationException.php.
Referenced by ILIAS\Refinery\ConstraintViolationException\__construct().
|
private |
Definition at line 32 of file ConstraintViolationException.php.
Referenced by ILIAS\Refinery\ConstraintViolationException\__construct().