First Local Commit - After Clean up.
Signed-off-by: Rick Hays <rhays@haysgang.com>
This commit is contained in:
15
system/CLI/Exceptions/CLIException.php
Normal file
15
system/CLI/Exceptions/CLIException.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php namespace CodeIgniter\CLI\Exceptions;
|
||||
|
||||
class CLIException extends \RuntimeException
|
||||
{
|
||||
/**
|
||||
* @param string $type
|
||||
* @param string $color
|
||||
*
|
||||
* @return \CodeIgniter\CLI\Exceptions\CLIException
|
||||
*/
|
||||
public static function forInvalidColor(string $type, string $color)
|
||||
{
|
||||
return new static(lang('CLI.invalidColor', [$type, $color]));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user