Devise\Media\Encoding\ZencoderJob::__construct PHP Method

__construct() public method

Create a new ZencoderJob
public __construct ( string $apiKey, array $notifications, FileDownloader $FileDownloader, Framework $Framework )
$apiKey string
$notifications array
$FileDownloader Devise\Media\Files\FileDownloader
$Framework Devise\Support\Framework
    public function __construct($apiKey, $notifications, FileDownloader $FileDownloader, Framework $Framework)
    {
        $this->apiKey = $apiKey;
        $this->notifications = $notifications;
        $this->FileDownloader = $FileDownloader;
        $this->Event = $Framework->Event;
        $this->Zencoder = new Services_Zencoder($this->apiKey);
    }