Skip to content

Commit

Permalink
Add getName() method to parser classes
Browse files Browse the repository at this point in the history
  • Loading branch information
mzur committed Apr 24, 2024
1 parent 765b594 commit ce8011f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/ImageIfdoParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@ public static function getKnownMimeTypes(): array
//
}

/**
* {@inheritdoc}
*/
public static function getName(): string
{
return 'iFDO';
}

/**
* {@inheritdoc}
*/
Expand Down
8 changes: 8 additions & 0 deletions src/VideoIfdoParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@ public static function getKnownMimeTypes(): array
//
}

/**
* {@inheritdoc}
*/
public static function getName(): string
{
return 'iFDO';
}

/**
* {@inheritdoc}
*/
Expand Down

0 comments on commit ce8011f

Please sign in to comment.