Add and use an action to get the project language

This commit is contained in:
Oliver Davies 2024-02-22 21:04:40 +00:00
parent 8c9f36151b
commit ccbae0ed36
17 changed files with 2328 additions and 51 deletions

View file

@ -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(