*/ class ServiceEntityRepository extends LazyServiceEntityRepository { } } else { // ORM 3 /** * Optional EntityRepository base class with a simplified constructor (for autowiring). * * To use in your class, inject the "registry" service and call * the parent constructor. For example: * * class YourEntityRepository extends ServiceEntityRepository * { * public function __construct(ManagerRegistry $registry) * { * parent::__construct($registry, YourEntity::class); * } * } * * @template T of object * @template-extends ServiceEntityRepositoryProxy */ class ServiceEntityRepository extends ServiceEntityRepositoryProxy { } }