public function Finder::hasResults in Database Sanitize 7
Check if the any results were found.
Return value
bool
File
- vendor/
symfony/ finder/ Finder.php, line 622
Class
- Finder
- Finder allows to build rules to find files and directories.
Namespace
Symfony\Component\FinderCode
public function hasResults() {
foreach ($this
->getIterator() as $_) {
return true;
}
return false;
}