You are here

public function Collection::isEmpty in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/doctrine/collections/lib/Doctrine/Common/Collections/Collection.php \Doctrine\Common\Collections\Collection::isEmpty()

Checks whether the collection is empty (contains no elements).

Return value

boolean TRUE if the collection is empty, FALSE otherwise.

2 methods override Collection::isEmpty()
AbstractLazyCollection::isEmpty in vendor/doctrine/collections/lib/Doctrine/Common/Collections/AbstractLazyCollection.php
Checks whether the collection is empty (contains no elements).
ArrayCollection::isEmpty in vendor/doctrine/collections/lib/Doctrine/Common/Collections/ArrayCollection.php
Checks whether the collection is empty (contains no elements).

File

vendor/doctrine/collections/lib/Doctrine/Common/Collections/Collection.php, line 82

Class

Collection
The missing (SPL) Collection/Array/OrderedMap interface.

Namespace

Doctrine\Common\Collections

Code

public function isEmpty();