public function __construct($limit = null, array &$cache = []) { $this->cache =& $cache; $this->limit = $limit; }