You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

repository.tpl.php 410B

3 年之前
123456789101112131415
  1. <?= "<?php\n" ?>
  2. namespace <?= $namespace_path; ?>\<?= $domain; ?>;
  3. use App\Entity\<?= $domain; ?>\<?= $entity_class ?>;
  4. use Doctrine\Persistence\ManagerRegistry;
  5. use Lc\SovBundle\Repository\AbstractRepository;
  6. class <?= $class_name ?> extends AbstractRepository
  7. {
  8. public function __construct(ManagerRegistry $registry)
  9. {
  10. parent::__construct($registry, <?= $entity_class ?>::class);
  11. }
  12. }