tao-test/app/vendor/respect/validation/docs/rules/Readable.md

25 lines
480 B
Markdown
Raw Normal View History

2022-08-29 20:14:13 +02:00
# Readable
- `v::readable()`
Validates if the given data is a file exists and is readable.
```php
v::readable()->validate('/path/of/a/readable/file'); // true
```
***
See also:
* [Directory](Directory.md)
* [Executable](Executable.md)
* [Exists](Exists.md)
* [Extension](Extension.md)
* [File](File.md)
* [Image](Image.md)
* [Mimetype](Mimetype.md)
* [Size](Size.md)
* [SymbolicLink](SymbolicLink.md)
* [Uploaded](Uploaded.md)
* [Writable](Writable.md)