/** * @return mixed */ function current() { return is_array($this->container) ? current($this->container) : $this->container->current(); }