public __construct ( |
||
$storage | Storage instance | |
$reader | getID3 | Media reader instance |
$temp | TempFileCreator instance | |
$extension | Xpressengine\Media\Extensions\ExtensionInterface | Extension instance |
$fromSecond | integer | time second for snapshot |
public function __construct(Storage $storage, \getID3 $reader, TempFileCreator $temp, ExtensionInterface $extension, $fromSecond = 10)
{
$this->storage = $storage;
$this->reader = $reader;
$this->temp = $temp;
$this->extension = $extension;
$this->fromSecond = $fromSecond;
}