Returns the current element in the target collection after inserting
the value from the source collection into the specified path.

@return mixed
964112
public function current()
    {
        $row = parent::current();

        if (!$this->_validValues) {
            return $row;
        }

        $pointer =& $row;
        foreach ($this->_path as $step) {
            if (!isset($pointer[$step])) {
                return $row;
            }
            $pointer =& $pointer[$step];
        }

        $pointer[$this->_target] = $this->_values->current();

        return $row;
    }
1214053
public function current()
    {
        $this->currentData['stream'] = $this->repository->getBucket()->openDownloadStream($this->currentData['_id']);
        return parent::current();
    }
6279
public function current()
    {
        $document = $this->getCursor()->current();

        if ($document instanceof ActiveRecord) {
            $documentToArray = $document->toArray();
            $this->entitySchema = $document->getSchema();
        } else {
            $documentToArray = (array) $document;
        }

        return $this->getAssembler()->assemble(
            $documentToArray,
            $this->entitySchema
        );
    }
697936
public function current()
    {
    	$data = $this->dbi->current();
		$class_name = $this->__class_name;
		$object = new $class_name($data['id']);
//		$object->set_id($data['id']);
		$object->data = $data;
		$object->set_is_loaded(true);
		return $object;
    }
3709
public function current()
    {
        $keys = array_keys($this->items);
        $var = $this->items[$keys[$this->index]];

        return $var;
    }
388963
public function getCurrentResources()
    {
        // Getting the current Source element
        $source = $this->getCurrentSource();

        // Getting the data
        if ($source instanceof SourceInterface) {
            // Getting result iterator
            return $this->getResources($source);
        }
        return null;
    }
153706
public function current()
    {
        if ($this->page === null) {
            $this->page = $this->executeCall();
        }

        $page = $this->get($this->itemsPath, $this->page);

        if ($this->nextResultToken()) {
            return $page ?: [];
        }

        return $page;
    }
585526
public function getCurrentPagePath()
    {

        if ($this->currentPagePath != null) {
            return $this->currentPagePath;
        }


        $pageOrderArray = $this->pageOrder->getPageOrder();
        $path = $this->GETValueOfIndexIfSetElseDefault('page', false);


        if (!empty($path) && !empty($pagePath = $this->getPathArrayFromString($path, $pageOrderArray))) {
            return $this->currentPagePath = $pagePath;
        }

        if (!empty($pageOrderArray) && empty($path)) {
            return $this->currentPagePath = [array_shift($pageOrderArray)];
        }

        return $this->currentPagePath = [new NotFoundPageImpl($this->container)];
    }
884360
public function current(){

        if($this->currentPageType !== false){
            return $this->currentPageType;
        }

        $this->currentPageType = null;

        if(!$path = $this->pathProvider->getCurrentCmsPath()){
            return;
        }

        $this->currentPageType = $path->getPageType();

        return $this->currentPageType;

    }
838671
public function current()
    {
        $value = current($this->data);

        return AccessHelper::isCollectionType($value) ? new static($value, $this->options) : $value;
    }
1266256
public function current()
    {
        $offset = $this->hasPaginator() ? $this->getPaginator()->getOffset() : 0;
        $key = $this->keys[$this->key() + $offset];

        return $this->source[$key];
    }
880745
protected function getValue()
    {
        if ('' === $this->current) {
            return $this->subject;
        }

        $propertyAccessor = PropertyAccess::createPropertyAccessor();

        return $propertyAccessor->getValue($this->subject, $this->getCurrentPropertyPath());
    }
1287094
public function firstElementGet()
    {
        $keys = array_keys( $this->collection );
        if( $keys ) {
            return $this->collection[array_shift($keys)];
        }
        return null;
    }
671207
public function current()
	{
		if( $this->position >= $this->count() )
			return NULL;
		$keys	= array_keys( $this->pairs );
		return $this->pairs[$keys[$this->position]];
	}
242454
public function getCurrentPath()
    {

        // if no filepath defined => autocreate path from table name
        if (!static::$filepath) {
            static::$filepath = "files/" . $this->getTable();
        }

        static::$currentPath = public_path(static::$filepath . '/' . $this->id);

        if (!is_dir(static::$currentPath)) {
            try {
                @mkdir(static::$currentPath, 0777, true);
            } catch (Exception $e) {
                Api::handleError($e);
            }
        }

        return static::$currentPath;
    }
1041239
public function current()
	{
		$doc = new DOMDocument();
		$object = simplexml_import_dom($doc->importNode($this->reader->expand(), true));
		return json_decode(json_encode($object));
	}
412266
public function current()
    {
        $extractor = $this->_value;
        $current = $this->_fetchCurrent();
        $spacer = str_repeat($this->_spacer, $this->getDepth());

        return $spacer . $extractor($current, parent::key(), $this);
    }