Completed
Push — master ( 7bb723...2c3241 )
by Eric
10:07
created

XmlCollection::__construct()   B

Complexity

Conditions 6
Paths 32

Size

Total Lines 22
Code Lines 11

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 17
CRAP Score 6

Importance

Changes 0
Metric Value
dl 0
loc 22
ccs 17
cts 17
cp 1
rs 8.6737
c 0
b 0
f 0
cc 6
eloc 11
nc 32
nop 1
crap 6
1
<?php
2
3
/*
4
 * This file is part of the Ivory Serializer package.
5
 *
6
 * (c) Eric GELOEN <[email protected]>
7
 *
8
 * For the full copyright and license information, please read the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace Ivory\Serializer\Mapping\Annotation;
13
14
/**
15
 * @Annotation
16
 * @Target({"PROPERTY", "METHOD"})
17
 *
18
 * @author GeLo <[email protected]>
19
 */
20
class XmlCollection
21
{
22
    /**
23
     * @var string
24
     */
25
    public $entry;
26
27
    /**
28
     * @var string
29
     */
30
    public $entryAttribute;
31
32
    /**
33
     * @var bool
34
     */
35
    public $keyAsAttribute;
36
37
    /**
38
     * @var bool
39
     */
40
    public $keyAsNode;
41
42
    /**
43
     * @var bool
44
     */
45
    public $inline;
46
}
47