/** * Returns the first element in this iterator or defaultValue. * @param $default * @return mixed */ public function firstOr($default) { return Iterators::firstOr($this->iterator, $default); }