Implement basic trade offer via email
This commit is contained in:
parent
bed4012971
commit
e924c11558
4 changed files with 61 additions and 17 deletions
|
@ -33,6 +33,17 @@ class OfferingRepository extends ServiceEntityRepository
|
|||
;
|
||||
}
|
||||
|
||||
public function findById($id)
|
||||
{
|
||||
return $this->createQueryBuilder('o')
|
||||
->andWhere('o.Id = :val')
|
||||
->setParameter('val', $id)
|
||||
->orderBy('o.id', 'ASC')
|
||||
->getQuery()
|
||||
->getResult()
|
||||
;
|
||||
}
|
||||
|
||||
/*
|
||||
public function findOneBySomeField($value): ?Offering
|
||||
{
|
||||
|
|
Reference in a new issue