Implement mysqldump/backup service/command
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
|
||||
namespace App\Console;
|
||||
|
||||
use App\Service\DatabaseManager;
|
||||
use App\Service\DatabaseService;
|
||||
use Symfony\Component\Console\Command\Command;
|
||||
use Symfony\Component\Console\Input\InputArgument;
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
@ -14,7 +14,7 @@ class CreateDatabaseCommand extends Command
|
||||
protected static $defaultName = 'app:db:create';
|
||||
|
||||
public function __construct(
|
||||
private DatabaseManager $db,
|
||||
private DatabaseService $db,
|
||||
)
|
||||
{
|
||||
parent::__construct();
|
||||
|
Reference in New Issue
Block a user