Warning: Undefined variable $namespace in /home/projetwewv/www/licence26/eboutique/vendor/symfony/maker-bundle/src/Resources/skeleton/doctrine/Repository.tpl.php on line 3
;
use
Warning: Undefined variable $entity_full_class_name in /home/projetwewv/www/licence26/eboutique/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
Warning: Undefined variable $doctrine_registry_class in /home/projetwewv/www/licence26/eboutique/vendor/symfony/maker-bundle/src/Resources/skeleton/doctrine/Repository.tpl.php on line 9
;
Warning: Undefined variable $with_password_upgrade in /home/projetwewv/www/licence26/eboutique/vendor/symfony/maker-bundle/src/Resources/skeleton/doctrine/Repository.tpl.php on line 10
Warning: Undefined variable $with_password_upgrade in /home/projetwewv/www/licence26/eboutique/vendor/symfony/maker-bundle/src/Resources/skeleton/doctrine/Repository.tpl.php on line 11
Warning: Undefined variable $with_password_upgrade in /home/projetwewv/www/licence26/eboutique/vendor/symfony/maker-bundle/src/Resources/skeleton/doctrine/Repository.tpl.php on line 12
Warning: Undefined variable $with_password_upgrade in /home/projetwewv/www/licence26/eboutique/vendor/symfony/maker-bundle/src/Resources/skeleton/doctrine/Repository.tpl.php on line 13
/**
* @method
Warning: Undefined variable $entity_class_name in /home/projetwewv/www/licence26/eboutique/vendor/symfony/maker-bundle/src/Resources/skeleton/doctrine/Repository.tpl.php on line 16
|null find($id, $lockMode = null, $lockVersion = null)
* @method
Warning: Undefined variable $entity_class_name in /home/projetwewv/www/licence26/eboutique/vendor/symfony/maker-bundle/src/Resources/skeleton/doctrine/Repository.tpl.php on line 17
|null findOneBy(array $criteria, array $orderBy = null)
* @method
Warning: Undefined variable $entity_class_name in /home/projetwewv/www/licence26/eboutique/vendor/symfony/maker-bundle/src/Resources/skeleton/doctrine/Repository.tpl.php on line 18
[] findAll()
* @method
Warning: Undefined variable $entity_class_name in /home/projetwewv/www/licence26/eboutique/vendor/symfony/maker-bundle/src/Resources/skeleton/doctrine/Repository.tpl.php on line 19
[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class
Warning: Undefined variable $class_name in /home/projetwewv/www/licence26/eboutique/vendor/symfony/maker-bundle/src/Resources/skeleton/doctrine/Repository.tpl.php on line 21
extends ServiceEntityRepository
Warning: Undefined variable $with_password_upgrade in /home/projetwewv/www/licence26/eboutique/vendor/symfony/maker-bundle/src/Resources/skeleton/doctrine/Repository.tpl.php on line 21
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry,
Warning: Undefined variable $entity_class_name in /home/projetwewv/www/licence26/eboutique/vendor/symfony/maker-bundle/src/Resources/skeleton/doctrine/Repository.tpl.php on line 25
::class);
}
/**
* @throws ORMException
* @throws OptimisticLockException
*/
public function add(
Warning: Undefined variable $entity_class_name in /home/projetwewv/www/licence26/eboutique/vendor/symfony/maker-bundle/src/Resources/skeleton/doctrine/Repository.tpl.php on line 32
$entity, bool $flush = true): void
{
$this->_em->persist($entity);
if ($flush) {
$this->_em->flush();
}
}
/**
* @throws ORMException
* @throws OptimisticLockException
*/
public function remove(
Warning: Undefined variable $entity_class_name in /home/projetwewv/www/licence26/eboutique/vendor/symfony/maker-bundle/src/Resources/skeleton/doctrine/Repository.tpl.php on line 44
$entity, bool $flush = true): void
{
$this->_em->remove($entity);
if ($flush) {
$this->_em->flush();
}
}
Warning: Undefined variable $include_example_comments in /home/projetwewv/www/licence26/eboutique/vendor/symfony/maker-bundle/src/Resources/skeleton/doctrine/Repository.tpl.php on line 51
Warning: Undefined variable $with_password_upgrade in /home/projetwewv/www/licence26/eboutique/vendor/symfony/maker-bundle/src/Resources/skeleton/doctrine/Repository.tpl.php on line 54
Warning: Undefined variable $include_example_comments in /home/projetwewv/www/licence26/eboutique/vendor/symfony/maker-bundle/src/Resources/skeleton/doctrine/Repository.tpl.php on line 70
}