original_string: public function view($name, array $context = [])
      {
          $context += ['current_url' => $this->getRequest()->getUri()];
          
          if (method_exists($this, 'flash')) {
              $context += ['flash' => $this->flash()];
          }
          
          $response = $this->getViewer()->render($this->getResponse(), $name, $context);
          
          $this->setResponse($response);
      }
code: public function view($name, array $context = [])
      {
          $context += ['current_url' => $this->getRequest()->getUri()];
          
          if (method_exists($this, 'flash')) {
              $context += ['flash' => $this->flash()];
          }
          
          $response = $this->getViewer()->render($this->getResponse(), $name, $context);
          
          $this->setResponse($response);
      }
code_tokens: public function view ( $ name , array $ context = [ ] ) { $ context += [ 'current_url' => $ this -> getRequest ( ) -> getUri ( ) ] ; if ( method_exists ( $ this , 'flash' ) ) { $ context += [ 'flash' => $ this -> flash ( ) ] ; } $ response = $ this -> getViewer ( ) -> render ( $ this -> getResponse ( ) , $ name , $ context ) ; $ this -> setResponse ( $ response ) ; }
docstring: View rendered template
  
  @param string $name    Template name
  @param array  $context Template context
docstring_tokens: View rendered template