From c0cfb4078ac007bf395f645a6b50b17052f51035 Mon Sep 17 00:00:00 2001 From: Awilum Date: Tue, 28 Sep 2021 23:13:50 +0300 Subject: [PATCH] feat(console): rename FlextypeConsoleApplication to FlextypeConsole #543 --- src/flextype/flextype.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/flextype/flextype.php b/src/flextype/flextype.php index 85439324..b6b1b5d8 100644 --- a/src/flextype/flextype.php +++ b/src/flextype/flextype.php @@ -40,7 +40,7 @@ use Slim\Psr7\Response; use Slim\Psr7\Stream; use Symfony\Component\Yaml\Yaml as SymfonyYaml; use Flextype\Middlewares\WhoopsMiddleware; -use Flextype\Console\FlextypeConsoleApplication; +use Flextype\Console\FlextypeConsole; use function app; use function array_replace_recursive; @@ -76,7 +76,7 @@ use function var_export; flextype(); // Create Flextype CLI Application -container()->set('console', new FlextypeConsoleApplication('Flextype CLI Application', Flextype::VERSION)); +container()->set('console', new FlextypeConsole('Flextype CLI Application', Flextype::VERSION)); // Add Registry Service. container()->set('registry', registry()); @@ -349,7 +349,7 @@ function_exists('mb_internal_encoding') and mb_internal_encoding(registry()->get if (in_array(registry()->get('flextype.settings.timezone'), DateTimeZone::listIdentifiers())) { date_default_timezone_set(registry()->get('flextype.settings.timezone')); } - + // Add Plugins Service container()->set('plugins', new Plugins());