Failed Conditions
Push — master ( fa7802...d60694 )
by Guilherme
09:27
created

AssociationValueGeneratorExecutor   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
eloc 3
c 0
b 0
f 0
dl 0
loc 14
ccs 4
cts 4
cp 1
rs 10
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A isDeferred() 0 3 1
A execute() 0 4 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Doctrine\ORM\Sequencing\Executor;
6
7
use Doctrine\ORM\EntityManagerInterface;
8
9
final class AssociationValueGeneratorExecutor implements ValueGenerationExecutor
10
{
11
    /**
12
     * {@inheritdoc}
13
     */
14 77
    public function execute(EntityManagerInterface $entityManager, object $entity) : array
15
    {
16
        // value set by inverse side
17 77
        return [];
18
    }
19
20 77
    public function isDeferred() : bool
21
    {
22 77
        return true;
23
    }
24
}
25