Warning: Undefined variable $namespace in /home/astechc1/public_html/vendor/symfony/maker-bundle/src/Resources/skeleton/doctrine/Repository.tpl.php on line 3
;
Warning: Undefined variable $use_statements in /home/astechc1/public_html/vendor/symfony/maker-bundle/src/Resources/skeleton/doctrine/Repository.tpl.php on line 5
/**
* @extends ServiceEntityRepository<
Warning: Undefined variable $entity_class_name in /home/astechc1/public_html/vendor/symfony/maker-bundle/src/Resources/skeleton/doctrine/Repository.tpl.php on line 8
>
*
* @method
Warning: Undefined variable $entity_class_name in /home/astechc1/public_html/vendor/symfony/maker-bundle/src/Resources/skeleton/doctrine/Repository.tpl.php on line 10
|null find($id, $lockMode = null, $lockVersion = null)
* @method
Warning: Undefined variable $entity_class_name in /home/astechc1/public_html/vendor/symfony/maker-bundle/src/Resources/skeleton/doctrine/Repository.tpl.php on line 11
|null findOneBy(array $criteria, array $orderBy = null)
* @method
Warning: Undefined variable $entity_class_name in /home/astechc1/public_html/vendor/symfony/maker-bundle/src/Resources/skeleton/doctrine/Repository.tpl.php on line 12
[] findAll()
* @method
Warning: Undefined variable $entity_class_name in /home/astechc1/public_html/vendor/symfony/maker-bundle/src/Resources/skeleton/doctrine/Repository.tpl.php on line 13
[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class
Warning: Undefined variable $class_name in /home/astechc1/public_html/vendor/symfony/maker-bundle/src/Resources/skeleton/doctrine/Repository.tpl.php on line 15
extends ServiceEntityRepository
Warning: Undefined variable $with_password_upgrade in /home/astechc1/public_html/vendor/symfony/maker-bundle/src/Resources/skeleton/doctrine/Repository.tpl.php on line 15
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry,
Warning: Undefined variable $entity_class_name in /home/astechc1/public_html/vendor/symfony/maker-bundle/src/Resources/skeleton/doctrine/Repository.tpl.php on line 19
::class);
}
public function add(
Warning: Undefined variable $entity_class_name in /home/astechc1/public_html/vendor/symfony/maker-bundle/src/Resources/skeleton/doctrine/Repository.tpl.php on line 22
$entity, bool $flush = false): void
{
$this->getEntityManager()->persist($entity);
if ($flush) {
$this->getEntityManager()->flush();
}
}
public function remove(
Warning: Undefined variable $entity_class_name in /home/astechc1/public_html/vendor/symfony/maker-bundle/src/Resources/skeleton/doctrine/Repository.tpl.php on line 31
$entity, bool $flush = false): void
{
$this->getEntityManager()->remove($entity);
if ($flush) {
$this->getEntityManager()->flush();
}
}
Warning: Undefined variable $include_example_comments in /home/astechc1/public_html/vendor/symfony/maker-bundle/src/Resources/skeleton/doctrine/Repository.tpl.php on line 39
Warning: Undefined variable $with_password_upgrade in /home/astechc1/public_html/vendor/symfony/maker-bundle/src/Resources/skeleton/doctrine/Repository.tpl.php on line 42
Warning: Undefined variable $include_example_comments in /home/astechc1/public_html/vendor/symfony/maker-bundle/src/Resources/skeleton/doctrine/Repository.tpl.php on line 58
}