mirror of
https://github.com/YGGverse/gemini-php.git
synced 2026-03-31 17:05:29 +00:00
add getMediaPathByUri method
This commit is contained in:
parent
ba326b9b3c
commit
26d85269e8
2 changed files with 37 additions and 1 deletions
12
README.md
12
README.md
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue