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

Breadcrumb

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

class OptionDoesNotAllowArgumentException

Hierarchy

  • class \SebastianBergmann\CliParser\OptionDoesNotAllowArgumentException extends \RuntimeException implements \SebastianBergmann\CliParser\Exception

Expanded class hierarchy of OptionDoesNotAllowArgumentException

File

vendor/sebastian/cli-parser/src/exceptions/OptionDoesNotAllowArgumentException.php, line 15

Namespace

SebastianBergmann\CliParser
View source
final class OptionDoesNotAllowArgumentException extends RuntimeException implements Exception {
    public function __construct(string $option) {
        parent::__construct(sprintf('Option "%s" does not allow an argument', $option));
    }

}

Members

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