* debug cmd added

* auth fix
This commit is contained in:
Danyi Dávid
2019-05-13 22:31:46 +02:00
parent 7006443669
commit a40ac5fb70
8 changed files with 128 additions and 32 deletions

View File

@@ -0,0 +1,19 @@
<?php
declare(strict_types=1);
namespace App\Command;
use App\Service\KoinService;
use Interop\Container\ContainerInterface;
class DebugCommandFactory
{
public function __invoke(ContainerInterface $container)
{
/** @var KoinService $koinService */
$koinService = $container->get(KoinService::class);
$em = $container->get('doctrine.entity_manager.orm_default');
return new DebugCommand($koinService, $em);
}
}