PreviewProcessing implements ProcessorInterface

FinalYes

Preview of Online Media item Processing

Table of Contents

Interfaces

ProcessorInterface
Interface for file processors. All classes capable of processing a file have to implement this interface.

Properties

$eventDispatcher  : EventDispatcherInterface
$localImageProcessor  : LocalImageProcessor
$onlineMediaHelperRegistry  : OnlineMediaHelperRegistry

Methods

__construct()  : mixed
canProcessTask()  : bool
Returns TRUE if this processor can process the given task.
processTask()  : void
Processes the given task and sets the processing result in the task object.
getPreviewImageFromOnlineMedia()  : string

Properties

$eventDispatcher read-only

protected EventDispatcherInterface $eventDispatcher

Methods

canProcessTask()

Returns TRUE if this processor can process the given task.

public canProcessTask(TaskInterface $task) : bool
Parameters
$task : TaskInterface
Return values
bool

getPreviewImageFromOnlineMedia()

protected getPreviewImageFromOnlineMedia(File $file) : string
Parameters
$file : File
Return values
string

        
On this page

Search results