Issues (259)

Mapping/EntityMappingInterface.php (1 issue)

1
<?php
2
/**
3
 * Copyright (C) 2018 Gerrit Addiks.
4
 * This package (including this file) was released under the terms of the GPL-3.0.
5
 * You should have received a copy of the GNU General Public License along with this program.
6
 * If not, see <http://www.gnu.org/licenses/> or send me a mail so i can send you a copy.
7
 * @license GPL-3.0
8
 * @author Gerrit Addiks <[email protected]>
9
 */
10
11
namespace Addiks\RDMBundle\Mapping;
12
13
use Addiks\RDMBundle\Mapping\MappingInterface;
14
15
interface EntityMappingInterface extends MappingInterface
16
{
17
18
    /** @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...
19
    public function getEntityClassName(): string;
20
21
    /**
22
     * @return array<string, MappingInterface>  Array-key is the field-name.
23
     */
24
    public function getFieldMappings(): array;
25
26
}
27