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