function __construct($iterator, $predicate) { $this->predicate = $predicate; parent::__construct($iterator); }