| 1 | <?php namespace Modules\Media\Validators; |
||
| 8 | class MaxFolderSizeValidator extends Validator |
||
| 9 | { |
||
| 10 | public function validateMaxSize($attribute, UploadedFile $value, $parameters) |
||
| 19 | |||
| 20 | /** |
||
| 21 | * Get the directory size |
||
| 22 | * @param string $directory |
||
| 23 | * @return int |
||
| 24 | */ |
||
| 25 | public function getDirSize($directory) |
||
| 34 | } |
||
| 35 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.