forked from leftypol/leftypol
ExifReaderFactory.php: remove unused code
This commit is contained in:
parent
8b6e2f5434
commit
c0e0833053
1 changed files with 0 additions and 15 deletions
|
@ -1,15 +0,0 @@
|
||||||
<?php
|
|
||||||
namespace Vichan\Data\Driver\Metadata;
|
|
||||||
|
|
||||||
|
|
||||||
class ExifReaderFactory {
|
|
||||||
private array $mime_to_reader;
|
|
||||||
|
|
||||||
public function __construct(array $mime_to_reader) {
|
|
||||||
$this->mime_to_reader = $mime_to_reader;
|
|
||||||
}
|
|
||||||
|
|
||||||
public function getReader(string $mime): ?ExifReader {
|
|
||||||
return $this->mime_to_reader[$mime] ?? null;
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Add table
Add a link
Reference in a new issue