public function AbstractLazyCollection::isEmpty in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/doctrine/collections/lib/Doctrine/Common/Collections/AbstractLazyCollection.php \Doctrine\Common\Collections\AbstractLazyCollection::isEmpty()
Checks whether the collection is empty (contains no elements).
Return value
boolean TRUE if the collection is empty, FALSE otherwise.
Overrides Collection::isEmpty
File
- vendor/
doctrine/ collections/ lib/ Doctrine/ Common/ Collections/ AbstractLazyCollection.php, line 83
Class
- AbstractLazyCollection
- Lazy collection that is backed by a concrete collection
Namespace
Doctrine\Common\CollectionsCode
public function isEmpty() {
$this
->initialize();
return $this->collection
->isEmpty();
}