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

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

        return $this->getPackagesPath() .DS .$package .DS;
    }
public function getPackagePath ( $ slug ) { if ( Str :: length ( $ slug ) > 3 ) { $ package = Str :: studly ( $ slug ) ; } else { $ package = Str :: upper ( $ slug ) ; } return $ this -> getPackagesPath ( ) . DS . $ package . DS ; }
Get local path for the specified Package.

@param string $slug

@return string
Get local path for the specified Package .