public function Finder::size in Database Sanitize 7
Adds tests for file sizes.
$finder->size('> 10K'); $finder->size('<= 1Ki'); $finder->size(4);
Parameters
string|int $size A size range string or an integer:
Return value
$this
See also
File
- vendor/
symfony/ finder/ Finder.php, line 290
Class
- Finder
- Finder allows to build rules to find files and directories.
Namespace
Symfony\Component\FinderCode
public function size($size) {
$this->sizes[] = new Comparator\NumberComparator($size);
return $this;
}