CountableTrait
A generic implementation of the Countable interface.
Tags
Table of Contents
Properties
- $data : TData
- Holds the countable data.
Methods
- count() : int
- Count the data items.
Properties
$data
Holds the countable data.
protected
TData
$data
= []
Methods
count()
Count the data items.
public
count() : int
APIYes
Return values
int —The number of data items