php-basics/.phpdoc/guide/overview/interfaces.rst

36 lines
710 B
ReStructuredText

.. title:: Interfaces
Interface Traits
################
.. sidebar:: Table of Contents
.. contents::
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.