public function extend(Contracts\Listener $listener): self
    {
        $listener->handle($this->getLogger());

        return $this;
    }
public function extend(Contracts\Listener $listener): self
    {
        $listener->handle($this->getLogger());

        return $this;
    }
public function extend ( Contracts \ Listener $ listener ) : self { $ listener -> handle ( $ this -> getLogger ( ) ) ; return $ this ; }
Extend the profiler.

@param  \Laravie\Profiler\Contracts\Listener  $callback

@return $this
Extend the profiler .