original_string: public function edit(PortfolioRequest $request, Portfolio $portfolio)
      {
          return $this->response->title(trans('app.edit') . ' ' . trans('portfolio::portfolio.name'))
              ->view('portfolio::portfolio.edit', true)
              ->data(compact('portfolio'))
              ->output();
      }
code: public function edit(PortfolioRequest $request, Portfolio $portfolio)
      {
          return $this->response->title(trans('app.edit') . ' ' . trans('portfolio::portfolio.name'))
              ->view('portfolio::portfolio.edit', true)
              ->data(compact('portfolio'))
              ->output();
      }
code_tokens: public function edit ( PortfolioRequest $ request , Portfolio $ portfolio ) { return $ this -> response -> title ( trans ( 'app.edit' ) . ' ' . trans ( 'portfolio::portfolio.name' ) ) -> view ( 'portfolio::portfolio.edit' , true ) -> data ( compact ( 'portfolio' ) ) -> output ( ) ; }
docstring: Show portfolio for editing.
  
  @param Request $request
  @param Model   $portfolio
  
  @return Response
docstring_tokens: Show portfolio for editing .