Свойство | Type | Description | |
---|---|---|---|
$config | Illuminate\Contracts\Config\Repository | ||
$conversion | |||
$media | |||
$pathGenerator | Spatie\MediaLibrary\PathGenerator\PathGenerator |
Méthode | Description | |
---|---|---|
__construct ( Illuminate\Contracts\Config\Repository $config ) | ||
getPathRelativeToRoot ( ) : string | * Get the path to the requested file relative to the root of the media directory. | |
setConversion ( |
||
setMedia ( |
||
setPathGenerator ( Spatie\MediaLibrary\PathGenerator\PathGenerator $pathGenerator ) : Spatie\MediaLibrary\UrlGenerator\UrlGenerator |
public __construct ( Illuminate\Contracts\Config\Repository $config ) | ||
$config | Illuminate\Contracts\Config\Repository |
public getPathRelativeToRoot ( ) : string | ||
Résultat | string |
public setConversion ( |
||
$conversion | ||
Résultat | Spatie\MediaLibrary\UrlGenerator\UrlGenerator |
public setMedia ( |
||
$media | ||
Résultat | Spatie\MediaLibrary\UrlGenerator\UrlGenerator |
public setPathGenerator ( Spatie\MediaLibrary\PathGenerator\PathGenerator $pathGenerator ) : Spatie\MediaLibrary\UrlGenerator\UrlGenerator | ||
$pathGenerator | Spatie\MediaLibrary\PathGenerator\PathGenerator | |
Résultat | Spatie\MediaLibrary\UrlGenerator\UrlGenerator |
protected Repository,Illuminate\Contracts\Config $config | ||
Résultat | Illuminate\Contracts\Config\Repository |
protected Conversion,Spatie\MediaLibrary\Conversion $conversion | ||
Résultat |
protected Media,Spatie\MediaLibrary $media | ||
Résultat |