public function accept() { foreach ($this->closures as $closure) { if ($closure($this->current(), $this->key(), $this->getInnerIterator()) === false) { return false; } } return true; }