Completed
Push — master ( c78441...36b278 )
by Antarès
03:01
created

ListBehavior::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 5
Ratio 100 %

Code Coverage

Tests 4
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 5
loc 5
ccs 4
cts 4
cp 1
rs 9.4285
cc 1
eloc 3
nc 1
nop 1
crap 1
1
<?php
2
3
namespace Accessible\Annotation;
4
5
/**
6
 * A property having this annotation will behave as a list.
7
 *
8
 * @Annotation
9
 * @Target("PROPERTY")
10
 * @Attributes({
11
 *   @Attribute("itemName", type="string"),
12
 *   @Attribute("methods", type="array<string>")
13
 * })
14
 */
15
class ListBehavior extends AbstractCollectionBehavior
16
{
17
18
}
19