Issues (188)

src/Service/MapperProviderInterface.php (1 issue)

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
The doc comment non-empty-string at position 0 could not be parsed: Unknown type name 'non-empty-string' at position 0 in non-empty-string.
Loading history...
15
     */
16
    public function getMapper(string $entity): MapperInterface;
17
}
18