ServiceImageInterface
interface ServiceImageInterface
Interface to be called for DI for ServiceImageInterface related services
Methods
delete(string $file)
Deletes image file
string
getFolder(string $folder)
Gets the images folder
bool
resize($file, string $folder, string $filename, string $format = 'jpg', int $finalHeight = 400, int $compression = 75, bool $square = false, $stamp = null)
Resizes image
rotate($file, $degree)
Rotates the image
Details
at line 22
delete(string $file)
Deletes image file
at line 28
string
getFolder(string $folder)
Gets the images folder
at line 34
bool
resize($file, string $folder, string $filename, string $format = 'jpg', int $finalHeight = 400, int $compression = 75, bool $square = false, $stamp = null)
Resizes image
at line 39
rotate($file, $degree)
Rotates the image