mirror of
https://github.com/Respect/Validation.git
synced 2024-06-26 17:20:16 +02:00
ff253c78b3
The PSR-7 has two interfaces that allow us to validate them as files. This commit will allow some rules to validate those interfaces. Co-authored-by: Henrique Moody <henriquemoody@gmail.com> Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
564 B
564 B
Writable
Writable()
Validates if the given input is writable file.
v::writable()->validate('file.txt'); // true
Categorization
- File system
Changelog
Version | Description |
---|---|
2.1.0 | Add PSR-7 support |
0.5.0 | Created |
See also: