Class AsyncGenerator
Asynchronous thumbnail generator.
- BEdita\Core\Filesystem\ThumbnailGenerator implements BEdita\Core\Filesystem\GeneratorInterface uses Cake\Core\InstanceConfigTrait (not available)
-
BEdita\Core\Filesystem\Thumbnail\AsyncGenerator
Namespace: BEdita\Core\Filesystem\Thumbnail
Since: 4.0.0
Located at Core/src/Filesystem/Thumbnail/AsyncGenerator.php
Since: 4.0.0
Located at Core/src/Filesystem/Thumbnail/AsyncGenerator.php
Methods summary
protected
|
|
public
string
|
#
getUrl(
Get URL for a generated thumbnail. |
public
boolean
|
#
generate(
Generate a thumbnail for a Stream entity using the provided options, and return the URL. |
public
boolean
|
#
exists(
Check if a thumbnail for a Stream entity using the provided options already exists. |
public
|
Methods inherited from BEdita\Core\Filesystem\ThumbnailGenerator
Properties summary
protected
array
|
$_defaultConfig
Default configuration for adapter. |
#
[
'baseGenerator' => 'default',
'service' => 'thumbnail',
'max_attempts' => 2,
]
|