for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace DH\Auditor\Provider\Doctrine\Service;
use DH\Auditor\Provider\Service\AbstractService;
use Doctrine\ORM\EntityManagerInterface;
abstract class DoctrineService extends AbstractService
{
private EntityManagerInterface $entityManager;
public function __construct(string $name, EntityManagerInterface $entityManager)
parent::__construct($name);
$this->entityManager = $entityManager;
}
public function getEntityManager(): EntityManagerInterface
return $this->entityManager;