for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Aminetiyal\LaravelTemplate\Components\Lte;
use Illuminate\View\Component;
class Navbar extends Component
{
/**
* Create a new component instance.
*
* @return void
@return
Adding a @return annotation to a constructor is not recommended, since a constructor does not have a meaningful return value.
Please refer to the PHP core documentation on constructors.
*/
public function __construct()
//
}
* Get the view / contents that represent the component.
* @return \Illuminate\View\View|string
public function render()
return view('template::lte.components._layouts.navbar');
Adding a
@return
annotation to a constructor is not recommended, since a constructor does not have a meaningful return value.Please refer to the PHP core documentation on constructors.