Passed
Push — develop ( ded98c...5fca67 )
by Mathieu
02:55
created

ExportAssociationField::getField()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 10
Code Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 6
c 0
b 0
f 0
dl 0
loc 10
rs 10
cc 2
nc 2
nop 0
1
<?php
2
3
declare(strict_types=1);
4
5
namespace KunicMarko\SonataAnnotationBundle\Annotation;
6
7
/**
8
 * Export association field annotation.
9
 *
10
 * Allow you to configure the export for the annotated field having an
11
 * association field..
12
 *
13
 * @Annotation
14
 * @Target({"PROPERTY"})
15
 *
16
 * @author Marko Kunic <[email protected]>
17
 * @author Mathieu Wambre <[email protected]>
18
 */
19
final class ExportAssociationField extends ExportField
20
{
21
    /**
22
     * Association field name.
23
     *
24
     * @var string
25
     */
26
    public string $field;
27
}
28