Plop
A simple logging library for PHP
Countable Interface Reference

Classes implementing Countable can be used with the count() function. More...

+ Inheritance diagram for Countable:

Public Member Functions

 count ()
 

Detailed Description

Classes implementing Countable can be used with the count() function.

See also
http://php.net/class.countable.php

Definition at line 11 of file iface_Countable.php.

Member Function Documentation

Countable::count ( )

Count elements of an object.

This method is executed when using the count() function on an object implementing the Countable interface.

Return values
intThe custom count as an integer.
See also
http://php.net/countable.count.php

Implemented in Plop\Plop, and Plop\Collection.


The documentation for this interface was generated from the following file: