Total Complexity | 2 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
8 | class CreatePage extends Component |
||
9 | { |
||
10 | public $name; |
||
11 | |||
12 | public $route; |
||
13 | |||
14 | public $formclass; |
||
15 | |||
16 | public $formid; |
||
17 | |||
18 | /** |
||
19 | * Create a new component instance. |
||
20 | * |
||
21 | * @return void |
||
22 | */ |
||
23 | public function __construct($name, $route, $formclass = null, $formid = null) |
||
29 | } |
||
30 | |||
31 | /** |
||
32 | * Get the view / contents that represent the component. |
||
33 | * |
||
34 | * @return \Illuminate\Contracts\View\View|\Closure|string |
||
35 | */ |
||
36 | public function render() |
||
41 |