| Total Complexity | 2 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | class Card extends Component |
||
| 8 | { |
||
| 9 | public $title; |
||
| 10 | |||
| 11 | public $icon; |
||
| 12 | |||
| 13 | public $bg_color; |
||
| 14 | |||
| 15 | public $card_footer_enabled; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * Create a new component instance. |
||
| 19 | * |
||
| 20 | * @return void |
||
| 21 | */ |
||
| 22 | public function __construct($title, $icon = null, $bg_color = null, $card_footer_enabled = false) |
||
| 23 | { |
||
| 24 | // |
||
| 25 | $this->title = $title; |
||
| 26 | $this->icon = $icon; |
||
| 27 | $this->bg_color = $bg_color; |
||
| 28 | $this->card_footer_enabled = $card_footer_enabled; |
||
| 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() |
||
| 39 | } |
||
| 40 | } |
||
| 41 |