ResizeImageInterface
Table of Contents
Methods
-
createFile()
: StorageFile
-
createThumb()
: array<string|int, mixed>|null
-
getPrefixPath()
: string
-
getSizes()
: array<string|int, string>
-
getSquareSizes()
: array<string|int, int>
-
setExtra()
: ResizeImage
-
setFileName()
: static
-
setImage()
: static
-
setItemType()
: $this
-
setOptions()
: static
-
setOriginalName()
: $this
-
setPath()
: static
-
setServerId()
: static
-
setSizes()
: static
-
setSquareSizes()
: self
-
setUser()
: $this
createFile()
public
createFile() : StorageFile
createThumb()
public
createThumb(string $variant, mixed $originalId, bool $forceCreate, Closure $callback) : array<string|int, mixed>|null
Parameters
-
$variant
: string
-
-
$originalId
: mixed
-
-
$forceCreate
: bool
-
-
$callback
: Closure
-
Return values
array<string|int, mixed>|null
getPrefixPath()
public
getPrefixPath() : string
getSizes()
public
getSizes() : array<string|int, string>
-
deprecated
-
Return values
array<string|int, string>
getSquareSizes()
public
getSquareSizes() : array<string|int, int>
Return values
array<string|int, int>
public
setExtra(array<string|int, mixed> $extra) : ResizeImage
Parameters
-
$extra
: array<string|int, mixed>
-
setFileName()
public
setFileName(string $fileName) : static
Parameters
-
$fileName
: string
-
setImage()
public
setImage(mixed $imageFile) : static
Parameters
-
$imageFile
: mixed
-
setItemType()
public
setItemType(string|null $itemType) : $this
Parameters
-
$itemType
: string|null
-
setOptions()
public
setOptions(array<string|int, mixed>|array<string|int, string> $options) : static
Parameters
-
$options
: array<string|int, mixed>|array<string|int, string>
-
setOriginalName()
public
setOriginalName(string $clientOriginalName) : $this
Parameters
-
$clientOriginalName
: string
-
setPath()
public
setPath(string $path) : static
Parameters
-
$path
: string
-
setServerId()
public
setServerId(mixed|string $serverId) : static
Parameters
-
$serverId
: mixed|string
-
setSizes()
public
setSizes(array<string|int, string> $sizes) : static
Parameters
-
$sizes
: array<string|int, string>
-
setSquareSizes()
public
setSquareSizes(array<string|int, int> $squareSizes) : self
Parameters
-
$squareSizes
: array<string|int, int>
-
-
deprecated
-
setUser()
public
setUser(mixed $user) : $this
Parameters
-
$user
: mixed
-