Passed
Push — master ( d3a94c...76e109 )
by Valentin
05:50
created

Factory   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 0
dl 0
loc 11
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
A promise() 0 4 1
1
<?php
2
declare(strict_types=1);
3
4
namespace Cycle\ORM\Promise;
5
6
use Cycle\ORM\ORMInterface;
7
use Cycle\ORM\PromiseFactoryInterface;
8
9
class Factory implements PromiseFactoryInterface
10
{
11
    public function __construct()
12
    {
13
    }
14
15
    public function promise(ORMInterface $orm, string $role, array $scope): ?ReferenceInterface
16
    {
17
        // TODO: Implement promise() method.
18
    }
19
}