public function booted($callback)
    {
        $this->bootedCallbacks[] = $callback;

        if ($this->isBooted()) {
            $this->fireAppCallbacks([$callback]);
        }
    }
public function booted($callback)
    {
        $this->bootedCallbacks[] = $callback;

        if ($this->isBooted()) {
            $this->fireAppCallbacks([$callback]);
        }
    }
public function booted ( $ callback ) { $ this -> bootedCallbacks [ ] = $ callback ; if ( $ this -> isBooted ( ) ) { $ this -> fireAppCallbacks ( [ $ callback ] ) ; } }
Register a new "booted" listener.

@param  callable  $callback
@return void
Register a new booted listener .