Initial commit with security controller already initialized and User entity present.

This commit is contained in:
krzysiej
2022-05-20 10:03:04 +02:00
parent be9e8c4f1f
commit 5c0140b5d9
58 changed files with 22961 additions and 0 deletions

17
bin/console Normal file
View File

@@ -0,0 +1,17 @@
#!/usr/bin/env php
<?php
use App\Kernel;
use Symfony\Bundle\FrameworkBundle\Console\Application;
if (!is_file(dirname(__DIR__).'/vendor/autoload_runtime.php')) {
throw new LogicException('Symfony Runtime is missing. Try running "composer require symfony/runtime".');
}
require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
return function (array $context) {
$kernel = new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
return new Application($kernel);
};