for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace BbsLab\NovaToastUiEditorField;
use Illuminate\Support\ServiceProvider;
use Laravel\Nova\Events\ServingNova;
use Laravel\Nova\Nova;
class FieldServiceProvider extends ServiceProvider
{
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
$this->publishes([
__DIR__.'/../config/nova-toast-ui-editor.php' => config_path('nova-toast-ui-editor.php'),
], 'config');
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.
Nova::script('nova-toast-ui-editor-field', __DIR__.'/../dist/js/field.js');
Nova::style('nova-toast-ui-editor-field', __DIR__.'/../dist/css/field.css');
});
}
* Register any application services.
public function register()
$this->mergeConfigFrom(__DIR__.'/../config/nova-toast-ui-editor.php', 'nova-toast-ui-editor');
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.