Moved console commands to subdirectories.
This commit is contained in:
+2
-1
@@ -1,8 +1,9 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace LotGD\Core\Console\Command;
|
||||
namespace LotGD\Core\Console\Command\Character;
|
||||
|
||||
use LotGD\Core\Console\Command\BaseCommand;
|
||||
use LotGD\Core\Models\Character;
|
||||
use Symfony\Component\Console\Command\Command;
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
+2
-1
@@ -1,8 +1,9 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace LotGD\Core\Console\Command;
|
||||
namespace LotGD\Core\Console\Command\Character;
|
||||
|
||||
use LotGD\Core\Console\Command\BaseCommand;
|
||||
use LotGD\Core\Models\Character;
|
||||
use Symfony\Component\Console\Command\Command;
|
||||
use Symfony\Component\Console\Input\InputDefinition;
|
||||
+2
-1
@@ -1,8 +1,9 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace LotGD\Core\Console\Command;
|
||||
namespace LotGD\Core\Console\Command\Database;
|
||||
|
||||
use LotGD\Core\Console\Command\BaseCommand;
|
||||
use Symfony\Component\Console\Command\Command;
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
+2
-1
@@ -1,8 +1,9 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace LotGD\Core\Console\Command;
|
||||
namespace LotGD\Core\Console\Command\Database;
|
||||
|
||||
use LotGD\Core\Console\Command\BaseCommand;
|
||||
use Doctrine\ORM\Tools\SchemaTool;
|
||||
use Symfony\Component\Console\Command\Command;
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
+2
-1
@@ -1,8 +1,9 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace LotGD\Core\Console\Command;
|
||||
namespace LotGD\Core\Console\Command\Module;
|
||||
|
||||
use LotGD\Core\Console\Command\BaseCommand;
|
||||
use LotGD\Core\Exceptions\ClassNotFoundException;
|
||||
use LotGD\Core\Exceptions\ModuleAlreadyExistsException;
|
||||
use LotGD\Core\LibraryConfiguration;
|
||||
+2
-1
@@ -1,8 +1,9 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace LotGD\Core\Console\Command;
|
||||
namespace LotGD\Core\Console\Command\Module;
|
||||
|
||||
use LotGD\Core\Console\Command\BaseCommand;
|
||||
use Symfony\Component\Console\Command\Command;
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
+10
-9
@@ -5,13 +5,14 @@ namespace LotGD\Core\Console;
|
||||
|
||||
use LotGD\Core\Bootstrap;
|
||||
|
||||
use LotGD\Core\Console\Command\CharacterListCommand;
|
||||
use LotGD\Core\Console\Command\CharacterResetViewpointCommand;
|
||||
use LotGD\Core\Console\Command\Character\CharacterListCommand;
|
||||
use LotGD\Core\Console\Command\Character\CharacterResetViewpointCommand;
|
||||
use LotGD\Core\Console\Command\ConsoleCommand;
|
||||
use LotGD\Core\Console\Command\DatabaseInitCommand;
|
||||
use LotGD\Core\Console\Command\DatabaseSchemaUpdateCommand;
|
||||
use LotGD\Core\Console\Command\ModuleRegisterCommand;
|
||||
use LotGD\Core\Console\Command\ModuleValidateCommand;
|
||||
use LotGD\Core\Console\Command\Database\DatabaseInitCommand;
|
||||
use LotGD\Core\Console\Command\Database\DatabaseSchemaUpdateCommand;
|
||||
use LotGD\Core\Console\Command\Module\ModuleRegisterCommand;
|
||||
use LotGD\Core\Console\Command\Module\ModuleValidateCommand;
|
||||
use LotGD\Core\Game;
|
||||
use Symfony\Component\Console\Application;
|
||||
|
||||
/**
|
||||
@@ -19,9 +20,9 @@ use Symfony\Component\Console\Application;
|
||||
*/
|
||||
class Main
|
||||
{
|
||||
private $application;
|
||||
private $bootstrap;
|
||||
private $game;
|
||||
private Application $application;
|
||||
private Bootstrap $bootstrap;
|
||||
private Game $game;
|
||||
|
||||
/**
|
||||
* Construct a new daenerys tool instance.
|
||||
|
||||
Reference in New Issue
Block a user