add isPath method, fix validation errors, fix returned data types

This commit is contained in:
ghost 2024-02-04 10:26:50 +02:00
parent 82085aa8c3
commit 2e34ee480b
2 changed files with 35 additions and 11 deletions

View file

@ -210,6 +210,18 @@ var_dump (
);
```
#### Filesystem::isPath
Check path exist and match storage item
```
var_dump (
$filesystem->isPath(
'/full/path/to/page.txt'
)
);
```
### Helper
Useful methods to minify controller codebase