Issues (590)

src/Mapper/NameResolver/ResolverInterface.php (4 issues)

1
<?php
2
3
namespace Bdf\Prime\Mapper\NameResolver;
4
5
use Bdf\Prime\Mapper\Mapper;
6
7
/**
8
 * @package Bdf\Prime\Mapper\NameResolver
9
 */
10
interface ResolverInterface
11
{
12
    /**
13
     * Get mapper class name by entity class
14
     *
15
     * @param class-string $entityClass
0 ignored issues
show
Documentation Bug introduced by
The doc comment class-string at position 0 could not be parsed: Unknown type name 'class-string' at position 0 in class-string.
Loading history...
16
     * @return class-string<Mapper>
0 ignored issues
show
Documentation Bug introduced by
The doc comment class-string<Mapper> at position 0 could not be parsed: Unknown type name 'class-string' at position 0 in class-string<Mapper>.
Loading history...
17
     */
18
    public function resolve(string $entityClass): string;
19
20
    /**
21
     * Get entity class name by mapper class
22
     *
23
     * @param class-string<Mapper> $mapperClass
0 ignored issues
show
Documentation Bug introduced by
The doc comment class-string<Mapper> at position 0 could not be parsed: Unknown type name 'class-string' at position 0 in class-string<Mapper>.
Loading history...
24
     * @return class-string
0 ignored issues
show
Documentation Bug introduced by
The doc comment class-string at position 0 could not be parsed: Unknown type name 'class-string' at position 0 in class-string.
Loading history...
25
     */
26
    public function reverse(string $mapperClass): string;
27
}
28