isEmpty() public method

Determine if the collection is empty or not.
public isEmpty ( ) : boolean
return boolean
Example #1
0
 public function testEmptyCollectionIsEmpty()
 {
     $c = new Collection();
     $this->assertTrue($c->isEmpty());
 }