for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace App\Command;
use App\Infra\Db\ContredanseDb;
use Psr\Container\ContainerInterface;
class DbDumpCommandFactory
{
public function __invoke(ContainerInterface $container): DbDumpCommand
return new DbDumpCommand(
$container->get(ContredanseDb::class)
);
}