Doctrine\Common\Collections\ArrayCollection::isEmpty
Checks whether the collection is empty.
Note: This is preferable over count() == 0.
Signature
public function isEmpty()
Returns
- boolean
- TRUE if the collection is empty, FALSE otherwise.