Total Complexity | 7 |
Total Lines | 38 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
8 | class NewObject extends Base |
||
9 | { |
||
10 | /** |
||
11 | * @var string |
||
12 | */ |
||
13 | private $caller; |
||
14 | |||
15 | public function __construct(string $caller = null) |
||
16 | { |
||
17 | $this->caller = $caller; |
||
18 | } |
||
19 | |||
20 | public function getCaller(): ?string |
||
21 | { |
||
22 | return $this->caller; |
||
23 | } |
||
24 | |||
25 | public function getType(): string |
||
26 | { |
||
27 | return DependencyGraph::TYPE_NEW; |
||
28 | } |
||
29 | |||
30 | public function isEqual(Base $that): bool |
||
35 | ); |
||
36 | } |
||
37 | |||
38 | public function toString(): string |
||
46 | } |
||
47 | } |
||
48 |