for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Giuga\LaravelNovaSidebar;
use Illuminate\Support\ServiceProvider;
use Laravel\Nova\Events\ServingNova;
use Laravel\Nova\Nova;
class ToolServiceProvider extends ServiceProvider
{
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
$this->loadViewsFrom(__DIR__.'/../resources/views', 'nova-sidebar');
$this->app->booted(function () {
$this->routes();
});
Nova::serving(function (ServingNova $event) {
$event
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
//
}
* Register the tool's routes.
protected function routes()
* Register any 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.