Skip to content
This repository has been archived by the owner on Mar 5, 2023. It is now read-only.

Commit

Permalink
Update ESStore.php
Browse files Browse the repository at this point in the history
  • Loading branch information
joshbruce committed Dec 13, 2020
1 parent 590eed1 commit 8fe7522
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/FluentTypes/ESStore.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,13 @@ public function isFolder(): Shooped
);
}

public function mimeType(): Shooped
{
return Shoop::this(
mime_content_type($this->main()->unfold())
);
}

public function markdown(...$extensions)
{
$content = $this->content()->unfold();
Expand Down

0 comments on commit 8fe7522

Please sign in to comment.