| 1 | <?php |
||
| 22 | class WidgetModelRepository extends EntityRepository |
||
| 23 | { |
||
| 24 | /** |
||
| 25 | * Get Query for WidgetModel searched by id. |
||
| 26 | * |
||
| 27 | * @param string $id |
||
| 28 | * |
||
| 29 | * @return \Doctrine\ORM\Query |
||
| 30 | */ |
||
| 31 | 5 | public function getById($id) |
|
| 41 | |||
| 42 | /** |
||
| 43 | * Get Query for all WidgetModels. |
||
| 44 | * |
||
| 45 | * @return \Doctrine\ORM\Query |
||
| 46 | */ |
||
| 47 | 1 | public function getAll() |
|
| 53 | } |
||
| 54 |