diff --git a/src/Pumukit/SchemaBundle/Document/MediaType/Media.php b/src/Pumukit/SchemaBundle/Document/MediaType/Media.php index 1bdf30edf..574a186ea 100644 --- a/src/Pumukit/SchemaBundle/Document/MediaType/Media.php +++ b/src/Pumukit/SchemaBundle/Document/MediaType/Media.php @@ -9,6 +9,17 @@ interface Media { + public static function create( + string $originalName, + i18nText $description, + Tags $tags, + bool $hide, + bool $isDownloadable, + int $views, + Storage $storage, + MediaMetadata $mediaMetadata + ): Media; + public function id(); public function type(): int;