/** * Register two additional blade directives * * @return nil|null */ public function boot() { parent::boot(); $this->registerBladeDirective('widget-begin', '$1<?php echo app("arrilot.widget")->begin$2; ?>'); $this->registerBladeDirective('widget-end', '$1<?php echo app("arrilot.widget")->endw$2; ?>'); }