src/FileRepository.php
public function getModulePath($module)
    {
        try {
            return $this->findOrFail($module)->getPath() . '/';
        } catch (ModuleNotFoundException $e) {
            return $this->getPath() . '/' . Str::studly($module) . '/';
        }
    }
public function getModulePath($module)
    {
        try {
            return $this->findOrFail($module)->getPath() . '/';
        } catch (ModuleNotFoundException $e) {
            return $this->getPath() . '/' . Str::studly($module) . '/';
        }
    }
public function getModulePath ( $ module ) { try { return $ this -> findOrFail ( $ module ) -> getPath ( ) . '/' ; } catch ( ModuleNotFoundException $ e ) { return $ this -> getPath ( ) . '/' . Str :: studly ( $ module ) . '/' ; } }
Get module path for a specific module.

@param $module

@return string
Get module path for a specific module .