Passed
Push — feature/initial-implementation ( 70fbec...2d1ee1 )
by Fike
02:35
created

IgnoredParentProperties::getViews()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
3
declare(strict_types=1);
4
5
namespace AmaTeam\ElasticSearch\API\Annotation\Mapping;
6
7
/**
8
 * This annotation allows end user to hide specific properties from
9
 * parent class mapping as if they were never defined, so current class
10
 * (the one with this annotation) may have complete control over such
11
 * properties.
12
 *
13
 * @Annotation
14
 * @Target("CLASS")
15
 */
16
class IgnoredParentProperties
17
{
18
    /**
19
     * @Required
20
     * @var array<string>
21
     */
22
    public $value;
23
}
24