public function filter($callback) { if (is_callable($callback)) { $this->items = $this->items->filter($callback); } return $this; }