original_string: public function setPresenter($presenter)
      {
          if (is_string($presenter)) {
              $this->presenter = $this->getPresenter($presenter);
          } else {
              $this->presenter = $presenter;
          }
          return $this->presenter;
      }
code: public function setPresenter($presenter)
      {
          if (is_string($presenter)) {
              $this->presenter = $this->getPresenter($presenter);
          } else {
              $this->presenter = $presenter;
          }
          return $this->presenter;
      }
code_tokens: public function setPresenter ( $ presenter ) { if ( is_string ( $ presenter ) ) { $ this -> presenter = $ this -> getPresenter ( $ presenter ) ; } else { $ this -> presenter = $ presenter ; } return $ this -> presenter ; }
docstring: Manullay set a Presenter
  
  @param string|Presenter $presenter
  @return Presenter
docstring_tokens: Manullay set a Presenter