* @package generis * * @deprecated */ class common_ext_NamespaceManager { /** * Private constructor to force the use of the singleton * * @access private * @author Jerome Bogaerts, * @return mixed */ private function __construct() { } /** * Main entry point to retrieve the NamespaceManager instance * * @access public * @author Jerome Bogaerts, * @return common_ext_NamespaceManager */ public static function singleton() { return new self(); } /** * Get the list of all module's namespaces * * @access public * @author Jerome Bogaerts, * @return array */ public function getAllNamespaces() { return []; } /** * Conveniance method to retrieve the local Namespace * * @access public * @author Jerome Bogaerts, * @return common_ext_Namespace */ public function getLocalNamespace() { return new common_ext_Namespace( core_kernel_persistence_smoothsql_SmoothModel::DEFAULT_WRITABLE_MODEL, LOCAL_NAMESPACE . '#' ); } /** * Get a namesapce identified by the modelId or modelUri * * @access public * @author Jerome Bogaerts, * @param $modelid * @return common_ext_Namespace */ public function getNamespace($modelid) { return null; } /** * Reset the current NamespaceManager instance. * * @access public * @author Jerome Bogaerts, * @return void */ public function reset() { } }