/** * @return form_FreecontentService */ public static function getInstance() { if (self::$instance === null) { self::$instance = self::getServiceClassInstance(get_class()); } return self::$instance; }
/** * @return form_persistentdocument_freecontent */ protected function initPersistentDocument() { return form_FreecontentService::getInstance()->getNewDocumentInstance(); }