for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Hechoenlaravel\JarvisFoundation\Providers;
use MenuPing;
use Illuminate\Support\ServiceProvider;
class MenuServiceProvider extends ServiceProvider
{
/**
* Bootstrap the application services.
*
* @return void
*/
public function boot()
if (!MenuPing::instance('sidebar')) {
MenuPing::create('sidebar', function ($menu) {
$menu->enableOrdering();
$menu->setPresenter('Hechoenlaravel\JarvisFoundation\Menu\Presenters\SidebarMenuPresenter');
});
}
if (!MenuPing::instance('config')) {
MenuPing::create('config', function ($menu) {
$menu->dropdown('Configuración', function ($sub) {
$sub
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
}, ['icon' => 'fa fa-cogs']);
if (!MenuPing::instance('topnav')) {
MenuPing::create('topnav', function ($menu) {
* Register the application services.
public function register()
//
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.