Property | Type | Description | |
---|---|---|---|
$extractVideoFrameAtSecond | integer | ||
$manipulations | array | ||
$name | name | ||
$performOnCollections | array | ||
$performOnQueue | boolean |
Method | Description | |
---|---|---|
__construct ( string $name ) | ||
addAsFirstManipulation ( array $manipulation ) | Add the given manipulation as the first manipulation. | |
create ( string $name ) | ||
getExtractVideoFrameAtSecond ( ) : integer | ||
getManipulations ( ) : array | Get the manipulations of this conversion. | |
getName ( ) : string | ||
getResultExtension ( string $originalFileExtension = '' ) : string | * Get the extension that the result of this conversion must have. | |
nonQueued ( ) | Mark this conversion as one that should not be queued. | |
performOnCollections ( variadic |
Set the collection names on which this conversion must be performed. | |
queued ( ) | Mark this conversion as one that should be queued. | |
setCrop ( integer $width, integer $height, integer $x, integer $y ) | Crops the image to specific dimensions prior to any other resize operations. | |
setExtractVideoFrameAtSecond ( integer $timecode ) : |
* Set the timecode in seconds to extract a video thumbnail. | |
setFit ( string $fit ) | Set the target fit. | |
setFormat ( string $format ) | Set the target format. | |
setHeight ( integer $height ) | Set the target height. | |
setManipulationParameter ( string $name, string $value ) | Set the manipulation parameter. | |
setManipulations ( $manipulations ) | Set the manipulations for this conversion. | |
setWidth ( integer $width ) | Set the target width. | |
shouldBePerformedOn ( string $collectionName ) : boolean | * Determine if this conversion should be performed on the given collection. | |
shouldBeQueued ( ) : boolean | * Determine if the conversion should be queued. |
Method | Description | |
---|---|---|
containsFormatManipulation ( array $manipulations ) : boolean | * Determine if the given manipulations contain a format manipulation. |
public addAsFirstManipulation ( array $manipulation ) | ||
$manipulation | array |
protected containsFormatManipulation ( array $manipulations ) : boolean | ||
$manipulations | array | |
return | boolean |
public getExtractVideoFrameAtSecond ( ) : integer | ||
return | integer |
public getManipulations ( ) : array | ||
return | array |
public getResultExtension ( string $originalFileExtension = '' ) : string | ||
$originalFileExtension | string | |
return | string |
public nonQueued ( ) |
public performOnCollections ( variadic |
||
$collectionNames | variadic |
public setExtractVideoFrameAtSecond ( integer $timecode ) : |
||
$timecode | integer | |
return |
public setManipulationParameter ( string $name, string $value ) | ||
$name | string | |
$value | string |
public setManipulations ( $manipulations ) | ||
$manipulations |
public shouldBePerformedOn ( string $collectionName ) : boolean | ||
$collectionName | string | |
return | boolean |
public shouldBeQueued ( ) : boolean | ||
return | boolean |
protected int $extractVideoFrameAtSecond | ||
return | integer |