1 | <?php |
||
2 | |||
3 | declare(strict_types=1); |
||
4 | |||
5 | namespace Cycle\ORM\Service; |
||
6 | |||
7 | use Cycle\ORM\MapperInterface; |
||
8 | |||
9 | interface MapperProviderInterface |
||
10 | { |
||
11 | /** |
||
12 | * Get mapper associated with given entity role. |
||
13 | * |
||
14 | * @param non-empty-string $entity |
||
0 ignored issues
–
show
Documentation
Bug
introduced
by
![]() |
|||
15 | */ |
||
16 | public function getMapper(string $entity): MapperInterface; |
||
17 | } |
||
18 |