Passed
Push — master ( 3e1d12...91acb4 )
by Luís
13:51 queued 06:19
created

AssociationValueGeneratorExecutor::execute()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 2
dl 0
loc 4
ccs 2
cts 2
cp 1
crap 1
rs 10
c 0
b 0
f 0
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Doctrine\ORM\Sequencing\Planning;
6
7
use Doctrine\ORM\EntityManagerInterface;
8
9
final class AssociationValueGeneratorExecutor implements ValueGenerationExecutor
10
{
11
    /**
12
     * {@inheritdoc}
13
     */
14 75
    public function execute(EntityManagerInterface $entityManager, object $entity) : array
15
    {
16
        // value set by inverse side
17 75
        return [];
18
    }
19
20 75
    public function isDeferred() : bool
21
    {
22 75
        return true;
23
    }
24
}
25