public function register()
    {
        $this->registered = true;

        return $this->registrar->register(
            $this->name, $this->controller, $this->options
        );
    }
public function register()
    {
        $this->registered = true;

        return $this->registrar->register(
            $this->name, $this->controller, $this->options
        );
    }
public function register ( ) { $ this -> registered = true ; return $ this -> registrar -> register ( $ this -> name , $ this -> controller , $ this -> options ) ; }
Register the resource route.

@return \Illuminate\Routing\RouteCollection
Register the resource route .