
Ingvar Stepanyan - 2011-08-02 13:36:36 -
In reply to message 1 from Johnny
Thank you for interest. Countable was firstly planned for implementation but later was decided that anyway child class should implement own method to return count of elements, so there is no need to make wrapper in this abstract class. You may implement it yourself enough simply in your child class:
class MyArray extends CachedArray implements Countable
{
// ... your real methods to override abstracts ...
function count() { return $whatever_you_want; }
}