| 1 | <?php |
||
| 14 | class Directory extends AbstractRule |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @var string error template |
||
| 18 | */ |
||
| 19 | protected $template = '{{name}} must be a directory'; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @param $input |
||
| 23 | * @return bool |
||
| 24 | */ |
||
| 25 | public function directoryEmpty($input) |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @param mixed $input |
||
| 32 | * @return bool |
||
| 33 | */ |
||
| 34 | public function validate($input) : bool |
||
| 44 | } |
||
| 45 |