D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
etb1lp46s9ed
/
public_html
/
waboost.softurecs.com
/
app
/
View
/
Components
/
Filename :
NoData.php
back
Copy
<?php namespace App\View\Components; use Illuminate\View\Component; class NoData extends Component { /** * Create a new component instance. * * @return void */ protected $text; protected $colspan; public function __construct($text = 'No Data', $colspan = 1) { $this->text = $text; $this->colspan = $colspan; } /** * Get the view / contents that represent the component. * * @return \Illuminate\Contracts\View\View|\Closure|string */ public function render() { return view('components.no-data', [ 'text' => $this->text, 'colspan' => $this->colspan ]); } }