Total Complexity | 3 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class PhpTrait extends PhpTemplate |
||
8 | { |
||
9 | use Description; |
||
10 | |||
11 | /** @var string */ |
||
12 | protected $name; |
||
13 | |||
14 | /** |
||
15 | * PhpTrait constructor. |
||
16 | * @param string $name |
||
17 | */ |
||
18 | public function __construct($name) |
||
21 | } |
||
22 | |||
23 | /** |
||
24 | * @return string |
||
25 | */ |
||
26 | public function getName() |
||
27 | { |
||
28 | return $this->name; |
||
29 | } |
||
30 | |||
31 | protected function toString() |
||
35 | |||
36 | |||
39 | } |