for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Zenstruck\Porpaginas\Tests\Doctrine\Fixtures;
use Doctrine\ORM\EntityManagerInterface;
use Zenstruck\Porpaginas\Doctrine\Repository\ORMMatchableRepository;
/**
* @author Kevin Bond <[email protected]>
*/
final class ORMEntityRepository extends ORMMatchableRepository
{
private EntityManagerInterface $em;
public function __construct(EntityManagerInterface $em)
$this->em = $em;
}
public function getClassName(): string
return ORMEntity::class;
protected function em(): EntityManagerInterface
return $this->em;