public function register($name, Closure $callback)
    {
        $this->checkCallbackName($name);

        $this->callbacks[$name] = $callback;

        return $this;
    }
public function register($name, Closure $callback)
    {
        $this->checkCallbackName($name);

        $this->callbacks[$name] = $callback;

        return $this;
    }
public function register ( $ name , Closure $ callback ) { $ this -> checkCallbackName ( $ name ) ; $ this -> callbacks [ $ name ] = $ callback ; return $ this ; }
Register a breadcrumb domain.

@param  string    $name
@param  \Closure  $callback

@return self
Register a breadcrumb domain .