Completed
Push — master ( d154ad...604248 )
by Valentin
05:10
created

ParentEntity   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getParentProp() 0 4 1
A parentProtectedProp() 0 4 1
1
<?php
2
declare(strict_types=1);
3
4
namespace Cycle\ORM\Promise\Tests\Fixtures;
5
6
class ParentEntity
7
{
8
    protected $protected;
9
    protected $__resolver;
10
11
    public function getParentProp(): string
12
    {
13
        return 'parentPropValue';
14
    }
15
16
    protected function parentProtectedProp(): string
17
    {
18
        return 'childParentPropValue';
19
    }
20
}