public function ArrayCollection::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/ ArrayCollection.php, line 267
Class
- ArrayCollection
- An ArrayCollection is a Collection implementation that wraps a regular PHP array.
Namespace
Doctrine\Common\CollectionsCode
public function isEmpty() {
return empty($this->elements);
}