chobie\Jira\Issues\Walker::current PHP Method

current() public method

Return the current element.
public current ( ) : mixed
return mixed Can return any type.
    public function current()
    {
        if (is_callable($this->callback)) {
            $tmp = $this->issues[$this->offset];
            $callback = $this->callback;
            return $callback($tmp);
        } else {
            return $this->issues[$this->offset];
        }
    }