Add and use an action to get the project language
This commit is contained in:
parent
8c9f36151b
commit
ccbae0ed36
17 changed files with 2328 additions and 51 deletions
|
@ -4,9 +4,17 @@ namespace App\Console\Command;
|
|||
|
||||
use Symfony\Component\Console\Command\Command;
|
||||
use Symfony\Component\Console\Input\InputArgument;
|
||||
use Symfony\Component\Filesystem\Filesystem;
|
||||
|
||||
abstract class AbstractCommand extends Command
|
||||
{
|
||||
public function __construct(
|
||||
string $name,
|
||||
protected Filesystem $filesystem,
|
||||
) {
|
||||
parent::__construct(name: $name);
|
||||
}
|
||||
|
||||
protected function configure(): void
|
||||
{
|
||||
$this->addOption(
|
||||
|
|
Reference in a new issue