renaming
This commit is contained in:
@@ -33,7 +33,7 @@ use Espo\Core\{
|
||||
Utils\Module,
|
||||
Binding\EspoBindingLoader,
|
||||
Binding\Binding as BindingItem,
|
||||
Console\Params,
|
||||
Console\Command\Params,
|
||||
};
|
||||
|
||||
class Binding
|
||||
|
||||
@@ -32,7 +32,7 @@ namespace Espo\Classes\AppInfo;
|
||||
use Espo\Core\{
|
||||
Container as ContainerService,
|
||||
Utils\Metadata,
|
||||
Console\Params,
|
||||
Console\Command\Params,
|
||||
};
|
||||
|
||||
class Container
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
namespace Espo\Classes\AppInfo;
|
||||
|
||||
use Espo\Core\Console\Params;
|
||||
use Espo\Core\Console\Command\Params;
|
||||
use Espo\Core\Utils\ClassFinder;
|
||||
use Espo\Core\Job\MetadataProvider;
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ use Espo\Tools\Import\Service;
|
||||
|
||||
use Espo\Core\{
|
||||
Console\Command,
|
||||
Console\Params,
|
||||
Console\Command\Params,
|
||||
Console\IO,
|
||||
};
|
||||
|
||||
|
||||
@@ -29,6 +29,8 @@
|
||||
|
||||
namespace Espo\Core\Console;
|
||||
|
||||
use Espo\Core\Console\Command\Params;
|
||||
|
||||
/**
|
||||
* A command.
|
||||
*/
|
||||
|
||||
+1
-1
@@ -27,7 +27,7 @@
|
||||
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
|
||||
************************************************************************/
|
||||
|
||||
namespace Espo\Core\Console;
|
||||
namespace Espo\Core\Console\Command;
|
||||
|
||||
use Espo\Core\Utils\Util;
|
||||
|
||||
@@ -34,6 +34,7 @@ use Espo\Core\Utils\Metadata;
|
||||
use Espo\Core\Utils\Util;
|
||||
use Espo\Core\Console\Exceptions\CommandNotSpecified;
|
||||
use Espo\Core\Console\Exceptions\CommandNotFound;
|
||||
use Espo\Core\Console\Command\Params;
|
||||
|
||||
/**
|
||||
* Processes console commands.
|
||||
|
||||
@@ -33,7 +33,7 @@ use Espo\Core\{
|
||||
Portal\Application as PortalApplication,
|
||||
Container,
|
||||
Console\Command,
|
||||
Console\Params,
|
||||
Console\Command\Params,
|
||||
Console\IO,
|
||||
};
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ use Espo\Core\{
|
||||
InjectableFactory,
|
||||
Utils\File\Manager as FileManager,
|
||||
Console\Command,
|
||||
Console\Params,
|
||||
Console\Command\Params,
|
||||
Console\IO,
|
||||
};
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ use Espo\Core\{
|
||||
ORM\EntityManager,
|
||||
Authentication\AuthToken\AuthTokenManager,
|
||||
Console\Command,
|
||||
Console\Params,
|
||||
Console\Command\Params,
|
||||
Console\IO,
|
||||
};
|
||||
|
||||
|
||||
@@ -32,13 +32,13 @@ namespace Espo\Core\Console\Commands;
|
||||
use Espo\Core\{
|
||||
DataManager,
|
||||
Console\Command,
|
||||
Console\Params,
|
||||
Console\Command\Params,
|
||||
Console\IO,
|
||||
};
|
||||
|
||||
class ClearCache implements Command
|
||||
{
|
||||
protected $dataManager;
|
||||
private $dataManager;
|
||||
|
||||
public function __construct(DataManager $dataManager)
|
||||
{
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
namespace Espo\Core\Console\Commands;
|
||||
|
||||
use Espo\Core\Console\Command;
|
||||
use Espo\Core\Console\Params;
|
||||
use Espo\Core\Console\Command\Params;
|
||||
use Espo\Core\Console\IO;
|
||||
|
||||
use Espo\ORM\EntityManager;
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
namespace Espo\Core\Console\Commands;
|
||||
|
||||
use Espo\Core\Console\Command;
|
||||
use Espo\Core\Console\Params;
|
||||
use Espo\Core\Console\Command\Params;
|
||||
use Espo\Core\Console\IO;
|
||||
|
||||
use Espo\Core\Utils\Metadata;
|
||||
|
||||
@@ -32,7 +32,7 @@ namespace Espo\Core\Console\Commands;
|
||||
use Espo\Core\{
|
||||
DataManager,
|
||||
Console\Command,
|
||||
Console\Params,
|
||||
Console\Command\Params,
|
||||
Console\IO,
|
||||
};
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@ namespace Espo\Core\Console\Commands;
|
||||
|
||||
use Espo\Core\{
|
||||
Console\Command,
|
||||
Console\Params,
|
||||
Console\Command\Params,
|
||||
Console\IO,
|
||||
};
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ use Espo\Core\{
|
||||
ORM\EntityManager,
|
||||
Utils\PasswordHash,
|
||||
Console\Command,
|
||||
Console\Params,
|
||||
Console\Command\Params,
|
||||
Console\IO,
|
||||
};
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@ use Espo\Core\{
|
||||
Utils\Config,
|
||||
Utils\Log,
|
||||
Console\Command,
|
||||
Console\Params,
|
||||
Console\Command\Params,
|
||||
Console\IO,
|
||||
};
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@ use Espo\Core\{
|
||||
Application,
|
||||
Upgrades\UpgradeManager,
|
||||
Console\Command,
|
||||
Console\Params,
|
||||
Console\Command\Params,
|
||||
Console\IO,
|
||||
};
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ namespace Espo\Core\Console\Commands;
|
||||
use Espo\Core\{
|
||||
Utils\Config,
|
||||
Console\Command,
|
||||
Console\Params,
|
||||
Console\Command\Params,
|
||||
Console\IO,
|
||||
};
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ use Espo\Core\InjectableFactory;
|
||||
use Espo\Core\Utils\Metadata;
|
||||
use Espo\Core\Console\CommandManager;
|
||||
use Espo\Core\Console\Command;
|
||||
use Espo\Core\Console\Params;
|
||||
use Espo\Core\Console\Command\Params;
|
||||
use Espo\Core\Console\IO;
|
||||
|
||||
class CommandManagerTest extends \PHPUnit\Framework\TestCase
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
namespace tests\unit\Espo\Core\Console;
|
||||
|
||||
use Espo\Core\Console\Params;
|
||||
use Espo\Core\Console\Command\Params;
|
||||
|
||||
class ParamsTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user