forked from leftypol/leftypol
ImageFormatReader: rework into ImageMetadataReader
This commit is contained in:
parent
7f6e84e593
commit
29684043ab
5 changed files with 58 additions and 47 deletions
12
inc/Service/Media/ImageMetadataReader.php
Normal file
12
inc/Service/Media/ImageMetadataReader.php
Normal file
|
@ -0,0 +1,12 @@
|
|||
<?php
|
||||
namespace Vichan\Service\Media;
|
||||
|
||||
use Vichan\Data\ImageMetadataResult;
|
||||
|
||||
|
||||
interface ImageMetadataReader {
|
||||
/**
|
||||
* @param string $file_path Image file path.
|
||||
*/
|
||||
public function getMetadata(string $file_path): ImageMetadataResult;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue