protected function getNamespaceFromModuleJson($path)
    {
        $moduleProperties = $this->parseModuleJson($path);

        if (!isset($moduleProperties->module->namespace)) {
            throw new Exception('The namespace is not set in the module properties for the module in "' . $path . '".');
        }
        
        return Framework::prepareNamespace($moduleProperties->module->namespace);
    }
protected function getNamespaceFromModuleJson($path)
    {
        $moduleProperties = $this->parseModuleJson($path);

        if (!isset($moduleProperties->module->namespace)) {
            throw new Exception('The namespace is not set in the module properties for the module in "' . $path . '".');
        }
        
        return Framework::prepareNamespace($moduleProperties->module->namespace);
    }
protected function getNamespaceFromModuleJson ( $ path ) { $ moduleProperties = $ this -> parseModuleJson ( $ path ) ; if ( ! isset ( $ moduleProperties -> module -> namespace ) ) { throw new Exception ( 'The namespace is not set in the module properties for the module in "' . $ path . '".' ) ; } return Framework :: prepareNamespace ( $ moduleProperties -> module -> namespace ) ; }
Returns the namespace for the module in the given path.

@access protected
@param string $path
@return string

@throws Zepi\Turbo\Exception The namespace is not set in the module properties for the Module in "$path".
Returns the namespace for the module in the given path .