/** * Returns an instance of class (singleton pattern implementation). * * @return INSTALL_ViewRenderer */ public static function getInstance() { if (self::$classInstance === null) { self::$classInstance = new self(); } return self::$classInstance; }
/** * * @return INSTALL_ViewRenderer */ public static function getViewRenderer() { return INSTALL_ViewRenderer::getInstance(); }