Total Complexity | 9 |
Total Lines | 45 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
8 | class IndexPage extends Component |
||
9 | { |
||
10 | public $name; |
||
11 | public $plural_name; |
||
12 | public $property; |
||
13 | public $route; |
||
14 | public $class; |
||
15 | public $icon; |
||
16 | |||
17 | /** |
||
18 | * Create a new component instance. |
||
19 | * |
||
20 | * @return void |
||
21 | */ |
||
22 | public function __construct($name, $route, $property = '', $icon = null) |
||
30 | } |
||
31 | |||
32 | /** |
||
33 | * Get the view / contents that represent the component. |
||
34 | * |
||
35 | * @return \Illuminate\Contracts\View\View|string |
||
36 | */ |
||
37 | public function render() |
||
40 | } |
||
41 | |||
42 | protected function makeDynamicClass($name) |
||
55 |