public function present()
    {
        if (is_null($this->presenter)) {
            throw new \InvalidArgumentException('Presenter is not defined.');
        }

        return $this->getContainer()->make($this->presenter, array($this));
    }
public function present()
    {
        if (is_null($this->presenter)) {
            throw new \InvalidArgumentException('Presenter is not defined.');
        }

        return $this->getContainer()->make($this->presenter, array($this));
    }
public function present ( ) { if ( is_null ( $ this -> presenter ) ) { throw new \ InvalidArgumentException ( 'Presenter is not defined.' ) ; } return $ this -> getContainer ( ) -> make ( $ this -> presenter , array ( $ this ) ) ; }
Present the presenter object.

@return object

@throws \InvalidArgumentException
Present the presenter object .