PHP Basics

Interface Traits

ArrayAccessTrait

A generic implementation of the ArrayAccess interface.

Internally it accesses the protected $_data array.

CountableTrait

A generic implementation of the Countable interface.

Internally it counts the values of the protected $_data array.

IteratorAggregateTrait

A generic implementation of the IteratorAggregate interface.

Internally it iterates over the protected $_data array.

IteratorTrait

A generic implementation of the Iterator interface.

Internally it iterates over the protected $_data array.

Search results