ok
Direktori : /home2/selectio/www/fms-worksuite/app/View/Components/Cards/ |
Current File : //home2/selectio/www/fms-worksuite/app/View/Components/Cards/Notification.php |
<?php namespace App\View\Components\Cards; use Illuminate\View\Component; class Notification extends Component { public $link; public $image; public $title; public $text; public $time; public $notification; public $type; /** * Create a new component instance. * * @return void */ public function __construct($link, $image, $title, $time, $notification, $text = null, $type = 'image') { $this->link = $link; $this->image = $image; $this->title = $title; $this->text = $text; $this->time = $time; $this->notification = $notification; $this->type = $type; } /** * Get the view / contents that represent the component. * * @return \Illuminate\Contracts\View\View|\Closure|string */ public function render() { return view('components.cards.notification'); } }