Skip to content

Commit

Permalink
[WIP] add method to interface
Browse files Browse the repository at this point in the history
  • Loading branch information
Yurujai committed Dec 11, 2023
1 parent 3fb50f5 commit 7b73528
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/Pumukit/SchemaBundle/Document/MediaType/Media.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 7b73528

Please sign in to comment.