Property | Type | Description | |
---|---|---|---|
$config | Illuminate\Config\Repository | ||
$files | Illuminate\Filesystem\Filesystem | ||
$path | Path to the defined modules directory |
Method | Description | |
---|---|---|
__construct ( Illuminate\Config\Repository $config, Illuminate\Filesystem\Filesystem $files ) | Constructor method. | |
getManifest ( string $slug ) : Collection | null | Get a module's manifest contents. | |
getModulePath ( string $slug ) : string | Get path for the specified module. | |
getNamespace ( ) : string | Get modules namespace. | |
getPath ( ) : string | Get modules path. | |
setPath ( string $path ) : object | Set modules path in "RunTime" mode. |
Method | Description | |
---|---|---|
getAllBasenames ( ) : array | Get all module basenames. | |
getManifestPath ( $slug ) : string | Get path of module manifest file. |
public __construct ( Illuminate\Config\Repository $config, Illuminate\Filesystem\Filesystem $files ) | ||
$config | Illuminate\Config\Repository | |
$files | Illuminate\Filesystem\Filesystem |
protected getAllBasenames ( ) : array | ||
return | array |
public getManifest ( string $slug ) : Collection | null | ||
$slug | string | |
return | Collection | null |
protected getManifestPath ( $slug ) : string | ||
$slug | ||
return | string |
public getModulePath ( string $slug ) : string | ||
$slug | string | |
return | string |
protected Repository,Illuminate\Config $config | ||
return | Illuminate\Config\Repository |
protected Filesystem,Illuminate\Filesystem $files | ||
return | Illuminate\Filesystem\Filesystem |