Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F2750495
CommandNotFoundException.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
CommandNotFoundException.php
View Options
<?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\Console\Exception
;
/**
* Represents an incorrect command name typed in the console.
*
* @author Jérôme Tamarelle <jerome@tamarelle.net>
*/
class
CommandNotFoundException
extends
\InvalidArgumentException
implements
ExceptionInterface
{
/**
* @param string $message Exception message to throw
* @param string[] $alternatives List of similar defined names
* @param int $code Exception code
* @param \Throwable|null $previous Previous exception used for the exception chaining
*/
public
function
__construct
(
string
$message
,
private
array
$alternatives
=
[],
int
$code
=
0
,
?
\Throwable
$previous
=
null
,
)
{
parent
::
__construct
(
$message
,
$code
,
$previous
);
}
/**
* @return string[]
*/
public
function
getAlternatives
():
array
{
return
$this
->
alternatives
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Fri, Jul 3, 16:37 (8 h, 59 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
84/be/ebf943a893de8f6c2266557ddfc8
Default Alt Text
CommandNotFoundException.php (1 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment