Completed
Push — master ( a8b608...dc5b75 )
by Valentin
02:10
created

EntityWithTrait   A

Complexity

Total Complexity 8

Size/Duplication

Total Lines 48
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 8
lcom 0
cbo 1
dl 0
loc 48
rs 10
c 0
b 0
f 0
1
<?php
2
declare(strict_types=1);
3
4
namespace Cycle\ORM\Promise\Tests\Fixtures;
5
6
class EntityWithTrait
7
{
8
    use EntityTrait;
9
    const MY_CONST = 'value';
10
11
    public $public;
12
    public static $publicStatic;
13
    protected $protected;
14
    protected $__resolver;
15
    private $private = null;
16
17
    public function __construct()
18
    {
19
        //have some body
20
    }
21
22
    public function public()
23
    {
24
    }
25
26
    public function __resolver()
27
    {
28
    }
29
30
    /**
31
     * @return array
32
     */
33
    protected function protected(): array
34
    {
35
    }
36
37
    private function private()
38
    {
39
    }
40
41
    public static function publicStatic()
42
    {
43
    }
44
45
    public final function publicFinal()
46
    {
47
    }
48
49
    public function __toString()
50
    {
51
        return '';
52
    }
53
}