Files
prestashop/vendor/symfony/validator/Exception/MissingOptionsException.php
2026-04-09 18:31:51 +02:00

33 lines
644 B
PHP

<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Validator\Exception;
class MissingOptionsException extends ValidatorException
{
private array $options;
public function __construct(string $message, array $options)
{
parent::__construct($message);
$this->options = $options;
}
/**
* @return array
*/
public function getOptions()
{
return $this->options;
}
}