respect-validation/docs/rules/Readable.md

36 lines
579 B
Markdown
Raw Normal View History

2015-01-30 09:40:06 +01:00
# Readable
- `Readable()`
2015-01-30 09:40:06 +01:00
Validates if the given data is a file exists and is readable.
```php
v::readable()->validate('file.txt'); // true
2015-01-30 09:40:06 +01:00
```
## Categorization
- File system
## Changelog
Version | Description
--------|-------------
2.1.0 | Add PSR-7 support
0.5.0 | Created
***
See also:
- [Directory](Directory.md)
- [Executable](Executable.md)
- [Exists](Exists.md)
- [Extension](Extension.md)
- [File](File.md)
2018-12-11 13:31:50 +01:00
- [Image](Image.md)
- [Mimetype](Mimetype.md)
- [Size](Size.md)
- [SymbolicLink](SymbolicLink.md)
- [Uploaded](Uploaded.md)
- [Writable](Writable.md)