| 1 | <?php |
||
| 13 | class InventoryRepository extends EntityRepository |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * Affiche les inventaires actifs. |
||
| 17 | * |
||
| 18 | * @return QueryBuilder Requête DQL |
||
| 19 | */ |
||
| 20 | public function getInventory() |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Renvoi les derniers inventaires. |
||
| 30 | * |
||
| 31 | * @param integer $count Nombre d'élément à afficher |
||
| 32 | * @return array Query result |
||
| 33 | */ |
||
| 34 | public function getLastInventory($count) |
||
| 42 | |||
| 43 | private function findActive() |
||
| 51 | } |
||
| 52 |