src/CRUDlex/EntityValidator.php
protected function buildUpData()
    {
        $data   = [];
        $fields = $this->definition->getEditableFieldNames();
        foreach ($fields as $field) {
            $data[$field] = $this->entity->getRaw($field);
            $fixed        = $this->definition->getField($field, 'value');
            if ($fixed) {
                $data[$field] = $fixed;
            }
        }
        return $data;
    }
protected function buildUpData()
    {
        $data   = [];
        $fields = $this->definition->getEditableFieldNames();
        foreach ($fields as $field) {
            $data[$field] = $this->entity->getRaw($field);
            $fixed        = $this->definition->getField($field, 'value');
            if ($fixed) {
                $data[$field] = $fixed;
            }
        }
        return $data;
    }
protected function buildUpData ( ) { $ data = [ ] ; $ fields = $ this -> definition -> getEditableFieldNames ( ) ; foreach ( $ fields as $ field ) { $ data [ $ field ] = $ this -> entity -> getRaw ( $ field ) ; $ fixed = $ this -> definition -> getField ( $ field , 'value' ) ; if ( $ fixed ) { $ data [ $ field ] = $ fixed ; } } return $ data ; }
Builds up the data to validate from the entity.

@return array
a map field to raw value
Builds up the data to validate from the entity .