public function getModulePath($slug)
    {
        if (Str::length($slug) > 3) {
            $module = Str::studly($slug);
        } else {
            $module = Str::upper($slug);
        }

        return $this->getModulesPath() .DS .$module .DS;
    }
public function getModulePath($slug)
    {
        if (Str::length($slug) > 3) {
            $module = Str::studly($slug);
        } else {
            $module = Str::upper($slug);
        }

        return $this->getModulesPath() .DS .$module .DS;
    }
public function getModulePath ( $ slug ) { if ( Str :: length ( $ slug ) > 3 ) { $ module = Str :: studly ( $ slug ) ; } else { $ module = Str :: upper ( $ slug ) ; } return $ this -> getModulesPath ( ) . DS . $ module . DS ; }
Get path for the specified Module.

@param string $slug

@return string
Get path for the specified Module .