Issues (259)

Mapping/Annotation/RDMObject.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
 *
8
 * @license GPL-3.0
9
 *
10
 * @author Gerrit Addiks <[email protected]>
11
 */
12
13
namespace Addiks\RDMBundle\Mapping\Annotation;
14
15
use Doctrine\ORM\Mapping\Annotation;
16
use Addiks\RDMBundle\Mapping\Annotation\Call;
17
18
/**
19
 * @Annotation
20
 * @Target("PROPERTY")
21
 */
22
class RDMObject
23
{
24
25
    /**
26
     * @var class-string|null
0 ignored issues
show
Documentation Bug introduced by
The doc comment class-string|null at position 0 could not be parsed: Unknown type name 'class-string' at position 0 in class-string|null.
Loading history...
27
     */
28
    public $class;
29
30
    /**
31
     * @var array<object>
32
     */
33
    public $fields = array();
34
35
    /**
36
     * @var null|string|Call
37
     */
38
    public $factory;
39
40
    /**
41
     * @var null|string|Call
42
     */
43
    public $serialize;
44
45
}
46