add getMediaPathByUri method

This commit is contained in:
ghost 2024-02-04 09:58:25 +02:00
parent ba326b9b3c
commit 26d85269e8
2 changed files with 37 additions and 1 deletions

View file

@ -174,6 +174,18 @@ var_dump (
);
```
#### Filesystem::getMediaPathByUri
Return absolute path to stored media file
```
var_dump (
$filesystem->getMediaPathByUri(
'hello:world'
)
);
```
#### Filesystem::getData
Return file content if path match storage item