| 1 | <?php |
||
| 10 | class TestManager implements ManagerInterface |
||
| 11 | { |
||
| 12 | public function __construct(EntityManager $manager, ObjectRepository $repository) |
||
| 15 | |||
| 16 | public function find($id) |
||
| 19 | |||
| 20 | public function findAll() |
||
| 23 | |||
| 24 | public function findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null) |
||
| 27 | |||
| 28 | public function findOneBy(array $criteria) |
||
| 31 | |||
| 32 | public function getClassName() |
||
| 35 | |||
| 36 | public function create() |
||
| 40 | |||
| 41 | public function delete($entity) |
||
| 45 | |||
| 46 | public function save($entity) |
||
| 50 | |||
| 51 | /** |
||
| 52 | * @return EntityRepository |
||
| 53 | */ |
||
| 54 | public function getRepository() |
||
| 58 | } |
||
| 59 |