Passed
Push — master ( c93c78...d9ab06 )
by Anton
04:33 queued 02:57
created

Embedded::getInverse()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 1
c 0
b 0
f 0
dl 0
loc 3
rs 10
cc 1
nc 1
nop 0
1
<?php
2
/**
3
 * Spiral Framework.
4
 *
5
 * @license   MIT
6
 * @author    Anton Titov (Wolfy-J)
7
 */
8
declare(strict_types=1);
9
10
namespace Cycle\Annotated\Annotation\Relation;
11
12
use Doctrine\Common\Annotations\Annotation\Attribute;
13
use Doctrine\Common\Annotations\Annotation\Attributes;
14
15
/**
16
 * @Annotation
17
 * @Target("PROPERTY")
18
 * @Attributes({
19
 *      @Attribute("target", type="string", required=true),
20
 *      @Attribute("load", type="string"),
21
 * })
22
 */
23
final class Embedded extends Relation
24
{
25
    protected const TYPE = 'embedded';
26
27
    /**
28
     * @return Inverse|null
29
     */
30
    public function getInverse(): ?Inverse
31
    {
32
        return null;
33
    }
34
}