public function onBoot($name, Closure $callback)
    {
        $priority              = $this->getPluginPriority($name, 1);
        $this->bootCallbacks[] = compact('name', 'priority', 'callback');
    }
public function onBoot($name, Closure $callback)
    {
        $priority              = $this->getPluginPriority($name, 1);
        $this->bootCallbacks[] = compact('name', 'priority', 'callback');
    }
public function onBoot ( $ name , Closure $ callback ) { $ priority = $ this -> getPluginPriority ( $ name , 1 ) ; $ this -> bootCallbacks [ ] = compact ( 'name' , 'priority' , 'callback' ) ; }
onBoot method.

@param          $name
@param \Closure $callback
onBoot method .