Свойство | Тип | Описание | |
---|---|---|---|
$CategoryPaths | |||
$Filesystem | |||
$Images |
Метод | Описание | |
---|---|---|
__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 |
Метод | Описание | |
---|---|---|
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 | ||
Результат | string |
public extractImagesForCallback ( $input ) : array | ||
$input | ||
Результат | array |
public getImageUrl ( $input ) : string | ||
$input | ||
Результат | string |
protected CategoryPaths,Devise\Media\Categories $CategoryPaths | ||
Результат |
protected Filesystem,Devise\Media\Files $Filesystem | ||
Результат |