public function AbstractLazyCollection::isEmpty in Plug 7
Checks whether the collection is empty (contains no elements).
Return value
boolean TRUE if the collection is empty, FALSE otherwise.
Overrides Collection::isEmpty
File
- lib/
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();
}