12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- <?php
- namespace Symfony\Component\Console\Exception;
- class CommandNotFoundException extends \InvalidArgumentException implements ExceptionInterface
- {
- private $alternatives;
-
- public function __construct(string $message, array $alternatives = [], int $code = 0, \Exception $previous = null)
- {
- parent::__construct($message, $code, $previous);
- $this->alternatives = $alternatives;
- }
-
- public function getAlternatives()
- {
- return $this->alternatives;
- }
- }
|