Sonata\Exporter\Source\PropelCollectionSourceIterator::current PHP Method

current() public method

public current ( )
    public function current()
    {
        $current = $this->iterator->current();
        $data = array();
        foreach ($this->propertyPaths as $name => $propertyPath) {
            $data[$name] = $this->getValue($this->propertyAccessor->getValue($current, $propertyPath));
        }
        return $data;
    }