original_string: public function setApp(PhrestAPI $app)
    {
      $this->app = $app;
      $this->app->isInternalRequest = true;
  
      return $this;
    }
code: public function setApp(PhrestAPI $app)
    {
      $this->app = $app;
      $this->app->isInternalRequest = true;
  
      return $this;
    }
code_tokens: public function setApp ( PhrestAPI $ app ) { $ this -> app = $ app ; $ this -> app -> isInternalRequest = true ; return $ this ; }
docstring: Set the API instance
  
  @param PhrestAPI $app
  
  @return $this
docstring_tokens: Set the API instance