1 | <?php |
||
15 | class UnitRepository extends EntityRepository implements UnitRepositoryInterface |
||
16 | { |
||
17 | /** |
||
18 | * @param UnitInterface $unit |
||
19 | * @return void |
||
20 | */ |
||
21 | public function add(UnitInterface $unit) |
||
26 | |||
27 | /** |
||
28 | * @param integer $id |
||
29 | * @return UnitInterface|null |
||
30 | */ |
||
31 | public function findById($id) |
||
35 | |||
36 | /** |
||
37 | * @param UnitInterface $unit |
||
38 | * @return void |
||
39 | */ |
||
40 | public function update(UnitInterface $unit) |
||
45 | } |
||
46 |