Browse Source

Refactoring services

develop
Guillaume 3 years ago
parent
commit
0b0f5695f2
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      Repository/AbstractRepositoryQuery.php

+ 5
- 0
Repository/AbstractRepositoryQuery.php View File

->setParameter('id', $id); ->setParameter('id', $id);
} }


public function andWhereEqual($field, $value)
{
return $this->andWhere('.'.$field.' = :'.$field)->setParameter($field, $value);
}

/* /*
* DEVALIAS * DEVALIAS
*/ */

Loading…
Cancel
Save