-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update module for COCO implementation
- Loading branch information
Showing
14 changed files
with
100 additions
and
2,120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<?php | ||
namespace Biigle\Modules\MetadataCoco; | ||
|
||
use Biigle\Services\MetadataParsing\MetadataParser; | ||
use Biigle\Services\MetadataParsing\VolumeMetadata; | ||
|
||
class CocoParser extends MetadataParser | ||
{ | ||
/** | ||
* {@inheritdoc} | ||
*/ | ||
public static function getKnownMimeTypes(): array { | ||
return [ | ||
'application/json', | ||
]; | ||
} | ||
|
||
/** | ||
* {@inheritdoc} | ||
*/ | ||
public static function getName(): string | ||
{ | ||
return "COCO"; | ||
} | ||
|
||
/** | ||
* {@inheritdoc} | ||
*/ | ||
public function recognizesFile(): bool | ||
{ | ||
// TODO | ||
} | ||
|
||
/** | ||
* {@inheritdoc} | ||
*/ | ||
public function getMetadata(): VolumeMetadata | ||
{ | ||
// TODO | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.