PHP Basics

CountableTrait

A generic implementation of the Countable interface.

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

Tags
author

Sebastian Meyer sebastian.meyer@opencultureconsulting.com

template
template

Table of Contents

Methods

count()  : int
Count the data items.

Methods

count()

Count the data items.

public count() : int
APIYes
Return values
int

        
On this page

Search results