src/Sp/FixtureDumper/Generator/AbstractGenerator.php
protected function processFieldNames(ClassMetadata $metadata, $model)
    {
        $data = array();
        foreach ($metadata->getFieldNames() as $fieldName) {
            if ($metadata->isIdentifier($fieldName) && $metadata->usesIdGenerator()) {
                continue;
            }

            $value = $this->readProperty($model, $fieldName);
            if ($this->skipNullValues && $value === null) {
                continue;
            }

            $data[$fieldName] = $this->navigator->accept($this->getVisitor(), $value);
        }
        
        foreach ($this->fieldNamesPostProcessors as $postProcessor) {
            /** @var FieldNamesPostProcessorInterface $postProcessor */
            if ($postProcessor->supports($model, $metadata, $data)) {
                $data = $postProcessor->getData($model, $metadata, $data);
            }
        }

        return $data;
    }
protected function processFieldNames(ClassMetadata $metadata, $model)
    {
        $data = array();
        foreach ($metadata->getFieldNames() as $fieldName) {
            if ($metadata->isIdentifier($fieldName) && $metadata->usesIdGenerator()) {
                continue;
            }

            $value = $this->readProperty($model, $fieldName);
            if ($this->skipNullValues && $value === null) {
                continue;
            }

            $data[$fieldName] = $this->navigator->accept($this->getVisitor(), $value);
        }
        
        foreach ($this->fieldNamesPostProcessors as $postProcessor) {
            /** @var FieldNamesPostProcessorInterface $postProcessor */
            if ($postProcessor->supports($model, $metadata, $data)) {
                $data = $postProcessor->getData($model, $metadata, $data);
            }
        }

        return $data;
    }
@param \Doctrine\Common\Persistence\Mapping\ClassMetadata $metadata
@param                                                    $model

@return array