Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. InvalidOptionsException.php

class InvalidOptionsException

Hierarchy

  • class \Symfony\Component\Validator\Exception\RuntimeException extends \Symfony\Component\Validator\Exception\RuntimeException implements \Symfony\Component\Validator\Exception\ExceptionInterface
    • class \Symfony\Component\Validator\Exception\RuntimeException extends \Symfony\Component\Validator\Exception\RuntimeException implements \Symfony\Component\Validator\Exception\ExceptionInterface
      • class \Symfony\Component\Validator\Exception\ValidatorException extends \Symfony\Component\Validator\Exception\RuntimeException
        • class \Symfony\Component\Validator\Exception\InvalidOptionsException extends \Symfony\Component\Validator\Exception\ValidatorException

Expanded class hierarchy of InvalidOptionsException

1 file declares its use of InvalidOptionsException
Constraint.php in vendor/symfony/validator/Constraint.php

File

vendor/symfony/validator/Exception/InvalidOptionsException.php, line 14

Namespace

Symfony\Component\Validator\Exception
View source
class InvalidOptionsException extends ValidatorException {
    public function __construct(string $message, array $options) {
        parent::__construct($message);
    }
    public function getOptions() : array {
        return $this->options;
    }

}

Members

Title Sort descending Modifiers Object type Summary
InvalidOptionsException::getOptions public function
InvalidOptionsException::__construct public function
RSS feed
Powered by Drupal