Total Complexity | 3 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
5 | class ChildSimplePHP |
||
6 | { |
||
7 | public $realName; |
||
8 | public $completePath; |
||
9 | |||
10 | public function __construct(String $child) |
||
11 | { |
||
12 | $getCompleteChild = $child; |
||
13 | $getName = explode("\\", $getCompleteChild); |
||
14 | |||
15 | $this->setRealName(end($getName)); |
||
16 | $this->setCompleteChild($getCompleteChild); |
||
17 | } |
||
18 | |||
19 | private function setRealName(String $name) |
||
22 | } |
||
23 | |||
24 | private function setCompleteChild(String $completeChild) |
||
27 | } |
||
28 | } |