This commit is contained in:
as2252258@163.com
2021-08-11 01:04:57 +08:00
parent 63d8eaa4a5
commit 682246df28
219 changed files with 790 additions and 791 deletions
+7 -7
View File
@@ -4,11 +4,11 @@ declare(strict_types=1);
namespace Console;
use ReflectionException;
use Snowflake\Abstracts\BaseObject;
use Snowflake\Abstracts\TraitApplication;
use Snowflake\Exception\ComponentException;
use Snowflake\Exception\NotFindClassException;
use Snowflake\Snowflake;
use Kiri\Abstracts\BaseObject;
use Kiri\Abstracts\TraitApplication;
use Kiri\Exception\ComponentException;
use Kiri\Exception\NotFindClassException;
use Kiri\Kiri;
/**
* Class Command
@@ -66,7 +66,7 @@ abstract class Command extends BaseObject implements CommandInterface
*/
private function has($name): bool
{
return Snowflake::app()->has($name);
return Kiri::app()->has($name);
}
@@ -79,7 +79,7 @@ abstract class Command extends BaseObject implements CommandInterface
*/
private function get($name): mixed
{
return Snowflake::app()->get($name);
return Kiri::app()->get($name);
}