src/Service/MelisCoreModulesService.php
public function getModulePath($moduleName, $returnFullPath = true)
    {
        $path = $this->getUserModulePath($moduleName, $returnFullPath);
        if ($path == '') {
            $path = $this->getComposerModulePath($moduleName, $returnFullPath);
        }

        return $path;
    }
public function getModulePath($moduleName, $returnFullPath = true)
    {
        $path = $this->getUserModulePath($moduleName, $returnFullPath);
        if ($path == '') {
            $path = $this->getComposerModulePath($moduleName, $returnFullPath);
        }

        return $path;
    }
public function getModulePath ( $ moduleName , $ returnFullPath = true ) { $ path = $ this -> getUserModulePath ( $ moduleName , $ returnFullPath ) ; if ( $ path == '' ) { $ path = $ this -> getComposerModulePath ( $ moduleName , $ returnFullPath ) ; } return $ path ; }
Returns the full path of the module

@param $moduleName
@param bool $returnFullPath

@return string
Returns the full path of the module