protected function parseModuleJson($path)
    {
        if (!file_exists($path . '/Module.json')) {
            throw new Exception('Cannot find Module.json in the path "' . $path . '".');
        }

        $moduleProperties = json_decode(file_get_contents($path . '/Module.json'));
        
        return $moduleProperties;
    }
protected function parseModuleJson($path)
    {
        if (!file_exists($path . '/Module.json')) {
            throw new Exception('Cannot find Module.json in the path "' . $path . '".');
        }

        $moduleProperties = json_decode(file_get_contents($path . '/Module.json'));
        
        return $moduleProperties;
    }
protected function parseModuleJson ( $ path ) { if ( ! file_exists ( $ path . '/Module.json' ) ) { throw new Exception ( 'Cannot find Module.json in the path "' . $ path . '".' ) ; } $ moduleProperties = json_decode ( file_get_contents ( $ path . '/Module.json' ) ) ; return $ moduleProperties ; }
Returns an object with the properties of the module from
the Module.json file in the given path.

@access protected
@param string $path
@return \stdClass

@throws Zepi\Turbo\Exception Cannot find Module.json in the path "$path".
Returns an object with the properties of the module from the Module . json file in the given path .