Notice: Undefined variable: namespace in /home/developer/public_html/elnashra.com/vendor/symfony/maker-bundle/src/Resources/skeleton/doctrine/Repository.tpl.php on line 3
;
use
Notice: Undefined variable: entity_full_class_name in /home/developer/public_html/elnashra.com/vendor/symfony/maker-bundle/src/Resources/skeleton/doctrine/Repository.tpl.php on line 5
;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\ORM\OptimisticLockException;
use Doctrine\ORM\ORMException;
use
Notice: Undefined variable: doctrine_registry_class in /home/developer/public_html/elnashra.com/vendor/symfony/maker-bundle/src/Resources/skeleton/doctrine/Repository.tpl.php on line 9
;
Notice: Undefined variable: with_password_upgrade in /home/developer/public_html/elnashra.com/vendor/symfony/maker-bundle/src/Resources/skeleton/doctrine/Repository.tpl.php on line 10
Notice: Undefined variable: with_password_upgrade in /home/developer/public_html/elnashra.com/vendor/symfony/maker-bundle/src/Resources/skeleton/doctrine/Repository.tpl.php on line 11
Notice: Undefined variable: with_password_upgrade in /home/developer/public_html/elnashra.com/vendor/symfony/maker-bundle/src/Resources/skeleton/doctrine/Repository.tpl.php on line 12
Notice: Undefined variable: with_password_upgrade in /home/developer/public_html/elnashra.com/vendor/symfony/maker-bundle/src/Resources/skeleton/doctrine/Repository.tpl.php on line 13
/**
* @extends ServiceEntityRepository<
Notice: Undefined variable: entity_class_name in /home/developer/public_html/elnashra.com/vendor/symfony/maker-bundle/src/Resources/skeleton/doctrine/Repository.tpl.php on line 16
>
*
* @method
Notice: Undefined variable: entity_class_name in /home/developer/public_html/elnashra.com/vendor/symfony/maker-bundle/src/Resources/skeleton/doctrine/Repository.tpl.php on line 18
|null find($id, $lockMode = null, $lockVersion = null)
* @method
Notice: Undefined variable: entity_class_name in /home/developer/public_html/elnashra.com/vendor/symfony/maker-bundle/src/Resources/skeleton/doctrine/Repository.tpl.php on line 19
|null findOneBy(array $criteria, array $orderBy = null)
* @method
Notice: Undefined variable: entity_class_name in /home/developer/public_html/elnashra.com/vendor/symfony/maker-bundle/src/Resources/skeleton/doctrine/Repository.tpl.php on line 20
[] findAll()
* @method
Notice: Undefined variable: entity_class_name in /home/developer/public_html/elnashra.com/vendor/symfony/maker-bundle/src/Resources/skeleton/doctrine/Repository.tpl.php on line 21
[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class
Notice: Undefined variable: class_name in /home/developer/public_html/elnashra.com/vendor/symfony/maker-bundle/src/Resources/skeleton/doctrine/Repository.tpl.php on line 23
extends ServiceEntityRepository
Notice: Undefined variable: with_password_upgrade in /home/developer/public_html/elnashra.com/vendor/symfony/maker-bundle/src/Resources/skeleton/doctrine/Repository.tpl.php on line 23
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry,
Notice: Undefined variable: entity_class_name in /home/developer/public_html/elnashra.com/vendor/symfony/maker-bundle/src/Resources/skeleton/doctrine/Repository.tpl.php on line 27
::class);
}
/**
* @throws ORMException
* @throws OptimisticLockException
*/
public function add(
Notice: Undefined variable: entity_class_name in /home/developer/public_html/elnashra.com/vendor/symfony/maker-bundle/src/Resources/skeleton/doctrine/Repository.tpl.php on line 34
$entity, bool $flush = true): void
{
$this->_em->persist($entity);
if ($flush) {
$this->_em->flush();
}
}
/**
* @throws ORMException
* @throws OptimisticLockException
*/
public function remove(
Notice: Undefined variable: entity_class_name in /home/developer/public_html/elnashra.com/vendor/symfony/maker-bundle/src/Resources/skeleton/doctrine/Repository.tpl.php on line 46
$entity, bool $flush = true): void
{
$this->_em->remove($entity);
if ($flush) {
$this->_em->flush();
}
}
Notice: Undefined variable: include_example_comments in /home/developer/public_html/elnashra.com/vendor/symfony/maker-bundle/src/Resources/skeleton/doctrine/Repository.tpl.php on line 53
Notice: Undefined variable: with_password_upgrade in /home/developer/public_html/elnashra.com/vendor/symfony/maker-bundle/src/Resources/skeleton/doctrine/Repository.tpl.php on line 56
Notice: Undefined variable: include_example_comments in /home/developer/public_html/elnashra.com/vendor/symfony/maker-bundle/src/Resources/skeleton/doctrine/Repository.tpl.php on line 72
}