forked from leftypol/leftypol
EmbedService.php: add missing dependencies
This commit is contained in:
parent
fe5368f096
commit
9df6cdbf28
1 changed files with 10 additions and 1 deletions
|
@ -16,11 +16,20 @@ class EmbedService {
|
|||
private int $thumb_download_timeout;
|
||||
|
||||
|
||||
public function __construct(LogDriver $log, OembedExtractor $oembed_extractor, array $embed_entries, int $thumb_download_timeout) {
|
||||
public function __construct(
|
||||
LogDriver $log,
|
||||
OembedExtractor $oembed_extractor,
|
||||
HttpDriver $http,
|
||||
array $embed_entries,
|
||||
int $thumb_download_timeout,
|
||||
string $tmp_dir,
|
||||
) {
|
||||
$this->log = $log;
|
||||
$this->oembed_extractor = $oembed_extractor;
|
||||
$this->http = $http;
|
||||
$this->embed_entries = $embed_entries;
|
||||
$this->thumb_download_timeout = $thumb_download_timeout;
|
||||
$this->tmp_dir = $tmp_dir;
|
||||
}
|
||||
|
||||
private function make_tmp_file(): string {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue