Свойство | Type | Description | |
---|---|---|---|
$CategoryPaths | |||
$Filesystem | |||
$Images |
Méthode | Description | |
---|---|---|
__construct ( |
Construct a new image manager | |
cropAndSaveFile ( $input ) : string | Crop and save an image | |
extractImagesForCallback ( $input ) : array | Not sure what this is for. Looks like it extracts images from a category path. | |
getImageUrl ( $input ) : string | Image url for a given category and image |
Méthode | Description | |
---|---|---|
getNewCroppedName ( $currentName, $width, $height ) : string | This cropped name is generated for us |
public __construct ( |
||
$Filesystem | ||
$CategoryPaths | ||
$Images | ||
$Config | Illuminate\Config\Repository |
public cropAndSaveFile ( $input ) : string | ||
$input | ||
Résultat | string |
public extractImagesForCallback ( $input ) : array | ||
$input | ||
Résultat | array |
public getImageUrl ( $input ) : string | ||
$input | ||
Résultat | string |
protected CategoryPaths,Devise\Media\Categories $CategoryPaths | ||
Résultat |
protected Filesystem,Devise\Media\Files $Filesystem | ||
Résultat |