BadMethodCallException.php
4 years ago
ConstraintDefinitionException.php
4 years ago
ExceptionInterface.php
4 years ago
GroupDefinitionException.php
4 years ago
InvalidArgumentException.php
4 years ago
InvalidOptionsException.php
4 years ago
LogicException.php
4 years ago
MappingException.php
4 years ago
MissingOptionsException.php
4 years ago
NoSuchMetadataException.php
4 years ago
OutOfBoundsException.php
4 years ago
RuntimeException.php
4 years ago
UnexpectedTypeException.php
4 years ago
UnexpectedValueException.php
4 years ago
UnsupportedMetadataException.php
4 years ago
ValidationFailedException.php
4 years ago
ValidatorException.php
4 years ago
index.php
3 years ago
InvalidOptionsException.php
17 lines
| 1 | <?php |
| 2 | namespace MailPoetVendor\Symfony\Component\Validator\Exception; |
| 3 | if (!defined('ABSPATH')) exit; |
| 4 | class InvalidOptionsException extends ValidatorException |
| 5 | { |
| 6 | private $options; |
| 7 | public function __construct(string $message, array $options) |
| 8 | { |
| 9 | parent::__construct($message); |
| 10 | $this->options = $options; |
| 11 | } |
| 12 | public function getOptions() |
| 13 | { |
| 14 | return $this->options; |
| 15 | } |
| 16 | } |
| 17 |