Total Complexity | 3 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class VueJSComponent extends AbstractVueJS{ |
||
8 | protected $name; |
||
9 | protected $props=["props"=>[]]; |
||
10 | protected $template; |
||
11 | |||
12 | public function __construct(string $template) { |
||
16 | } |
||
17 | |||
18 | public function setProps(string ...$name):void { |
||
19 | $this->props["props"]=$name; |
||
20 | } |
||
21 | |||
22 | public function create():string { |
||
29 | } |
||
30 | } |