Returns the current state
@return \csslib\query\State
550649
public function getState(){
		$this->loadCurrent();
		
		return new State($this->document, $this->translator, $this->current);
	}
1007287
public function current() {
		if (!$this->_started) {
			$this->rewind();
		}
		if (!$this->_valid) {
			return false;
		}
		return current($this->_data);
	}
469351
protected function _fetchCurrent()
    {
        if ($this->_current !== null) {
            return $this->_current;
        }

        return $this->_current = parent::current();
    }
1308641
public function current()
    {
        $map = $this->__getSerialisablePropertyMap();
        $mapKeys = array_keys($map);
        return $map[$mapKeys[$this->iteratorPosition]];
    }
495006
public function current()
    {
        $port = Current::port();
        if (! $port || ! $prefix = $port->prefix()) {
            return $this->to($this->request->getPathInfo());
        }

        return $this->to($this->getPathInfo());
    }
760234
public function getStates()
    {
        $appID = App::getCurrentID();
        $complementID = self::getCurrentID();
        $states = $this->getStatesFromFile();

        if (isset($states[$appID][$complementID])) {
            return $this->states = $states[$appID][$complementID];
        }

        return $this->states = [];
    }
275451
public function getCurrent()
    {
        if ($this->currentCache !== null) {
            return $this->currentCache;
        }
        /* @var $active MenuItem */
        $active = null;
        do {
            /* @var MenuItem[] $children */
            $children = $this->getChildren($active);
            $foundActiveChild = false;
            foreach ($children as $child) {
                if ($child->getActive()) {
                    $foundActiveChild = true;
                    $active = $child;
                    break;
                }
            }
        } while ($foundActiveChild);
        $this->currentCache = $active;

        return $active;
    }
1212463
public function current()
    {
        $sKey = key($this->values);

        return (true === isset($this->values[$sKey])) ? $this->values[$sKey] : null;
    }
816483
public function current()
    {
        return array_key_exists($this->currentKey, $this->items)
            ? $this->items[$this->currentKey]
            : null;
    }
1032029
public static function current()
    {
        $token = Request::header('X-Auth-Token', Input::get('X-Auth-Token'));

        if (static::$_current === null && $token) {
            static::$_current = static::where('token', $token)
                ->where('expire_at', '>=', Carbon::now())
                ->first();
        }

        return static::$_current;
    }
639857
public function current()
    {
        $row = null;

        if ($this->valid()) {
            $row = $this->getRowData($this->index);
        }

        return $row;
    }
930411
public function current()
    {
        if (!$this->page) {
            $this->page = $this->executeCall();
        }

        if (isset($this->page['prefixes'])) {
            $this->updatePrefixes();
        }

        return $this->get($this->itemsPath, $this->page);
    }
446018
public function current()
    {
        $key = $this->key();

        $table = $this->tables[$key];
        
        $this->setCurrentTable($table);

        return $table;
    }
1171676
public function current()
    {
        if (!self::$session) {
            Exception::i()->setMessage(self::ERROR_NOT_STARTED)->trigger();
        }

        return current($_SESSION);
    }
629946
public function getFinalStatus()
	{
		$currentEnvelope = $this;
		while ( null != $currentEnvelope->getRetryEnvelope() ) {
			$currentEnvelope = $currentEnvelope->getRetryEnvelope();
		}

		return $currentEnvelope->getStatus();
	}
263151
public function getState()
    {
        $state = get_object_vars($this);

        $publicState = [];
        foreach ($this->getExposableModelProperties() as $property) {
            if (isset($state[$property])) {
                $publicState[$property] = $state[$property];
            }
        }

        return $publicState;
    }
586716
public function current()
    {
        reset($this->session[$this->prefix]);

        return array_shift($this->session[$this->prefix]);
    }