Interface for a list of typed data.
A list of typed data contains only items of the same type, is ordered and may contain duplicates.
When implementing this interface which extends Traversable, make sure to list IteratorAggregate or Iterator before this interface in the implements clause.
Expanded class hierarchy of ListInterface
All classes that implement ListInterface
interface ListInterface extends ArrayAccess, Countable, Traversable {
/**
* Determines whether the list contains any non-empty items.
*
* @return boolean
* TRUE if the list is empty, FALSE otherwise.
*/
public function isEmpty();
}
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ListInterface:: |
public | function | Determines whether the list contains any non-empty items. | 1 |