PHP Class Spatie\Glide\GlideImage

Afficher le fichier Open project: spatie/laravel-glide Class Usage Examples

Protected Properties

Свойство Type Description
$modificationParameters The modification the need to be made on the image. Take a look at Glide's image API to see which parameters are possible. http://glide.thephpleague.com/1.0/api/quick-reference/
$sourceFile The path to the input image.

Méthodes publiques

Méthode Description
create ( string $sourceFile ) : GlideImage
modify ( array $modificationParameters ) : GlideImage
save ( string $outputFile ) : string
setSourceFile ( string $sourceFile ) : GlideImage

Method Details

create() public static méthode

public static create ( string $sourceFile ) : GlideImage
$sourceFile string
Résultat GlideImage

modify() public méthode

public modify ( array $modificationParameters ) : GlideImage
$modificationParameters array
Résultat GlideImage

save() public méthode

public save ( string $outputFile ) : string
$outputFile string
Résultat string

setSourceFile() public méthode

public setSourceFile ( string $sourceFile ) : GlideImage
$sourceFile string
Résultat GlideImage

Property Details

$modificationParameters protected_oe property

The modification the need to be made on the image. Take a look at Glide's image API to see which parameters are possible. http://glide.thephpleague.com/1.0/api/quick-reference/
protected $modificationParameters

$sourceFile protected_oe property

The path to the input image.
protected $sourceFile