for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Application\Action;
use Doctrine\ORM\EntityManager;
use Interop\Container\ContainerInterface;
use Zend\Expressive\Template\TemplateRendererInterface;
class DatatransFactory
{
public function __invoke(ContainerInterface $container)
$entityManager = $container->get(EntityManager::class);
$rendered = $container->get(TemplateRendererInterface::class);
return new DatatransAction($entityManager, $rendered);
}