Total Complexity | 3 |
Total Lines | 40 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | class LaunchPad extends jsExpression |
||
12 | { |
||
13 | protected $parent; |
||
14 | |||
15 | public function __construct($parent) |
||
24 | ] |
||
25 | ]); |
||
26 | } |
||
27 | |||
28 | protected function getURL() |
||
29 | { |
||
30 | return $this->parent->add('VirtualPage')->set(Closure::fromCallable([$this, 'getContents']))->getJSURL('cut'); |
||
31 | } |
||
32 | |||
33 | protected function getContents(VirtualPage $vp) |
||
51 | ]) |
||
52 | ]); |
||
55 |