comparison vendor/symfony/finder/Finder.php @ 12:7a779792577d

Update Drupal core to v8.4.5 (via Composer)
author Chris Cannam
date Fri, 23 Feb 2018 15:52:07 +0000
parents 4c8ae668cc8c
children 5fb285c0d0e3
comparison
equal deleted inserted replaced
11:bfffd8d7479a 12:7a779792577d
605 605
606 return $this; 606 return $this;
607 } 607 }
608 608
609 /** 609 /**
610 * Check if the any results were found.
611 *
612 * @return bool
613 */
614 public function hasResults()
615 {
616 foreach ($this->getIterator() as $_) {
617 return true;
618 }
619
620 return false;
621 }
622
623 /**
610 * Counts all the results collected by the iterators. 624 * Counts all the results collected by the iterators.
611 * 625 *
612 * @return int 626 * @return int
613 */ 627 */
614 public function count() 628 public function count()