public function __construct($asset, $config = null, $timeOffset = null, $imageAsset = null) { $this->asset = $asset; $this->timeOffset = $timeOffset; $this->imageAsset = $imageAsset; $this->config = $this->createConfig($config); }