public function setPresenter($presenter)
    {
        if (is_string($presenter)) {
            $this->presenter = $this->getPresenter($presenter);
        } else {
            $this->presenter = $presenter;
        }
        return $this->presenter;
    }
public function setPresenter($presenter)
    {
        if (is_string($presenter)) {
            $this->presenter = $this->getPresenter($presenter);
        } else {
            $this->presenter = $presenter;
        }
        return $this->presenter;
    }
public function setPresenter ( $ presenter ) { if ( is_string ( $ presenter ) ) { $ this -> presenter = $ this -> getPresenter ( $ presenter ) ; } else { $ this -> presenter = $ presenter ; } return $ this -> presenter ; }
Manullay set a Presenter

@param string|Presenter $presenter
@return Presenter
Manullay set a Presenter