src/Data/DefaultDataProvider.php
private function fieldPrefixer(array &$fields)
    {
        foreach ($fields as $index => $property) {
            if (0 === \strpos($property, $this->source . '.')
                || !$this->fieldExists($property)
            ) {
                continue;
            }

            $fields[$index] = $this->source . '.' . $property;
        }
    }
private function fieldPrefixer(array &$fields)
    {
        foreach ($fields as $index => $property) {
            if (0 === \strpos($property, $this->source . '.')
                || !$this->fieldExists($property)
            ) {
                continue;
            }

            $fields[$index] = $this->source . '.' . $property;
        }
    }
private function fieldPrefixer ( array & $ fields ) { foreach ( $ fields as $ index => $ property ) { if ( 0 === \ strpos ( $ property , $ this -> source . '.' ) || ! $ this -> fieldExists ( $ property ) ) { continue ; } $ fields [ $ index ] = $ this -> source . '.' . $ property ; } }
The field prefixer.

@param array $fields The fields.

@return void
The field prefixer .