Programming Language PHP

Namespace Oro\Component\EntitySerializer

Class FieldConfig

Total Examples 2

2 code examples of PHP Oro\Component\EntitySerializer\FieldConfig extracted from open source projects

Was this example useful?
0
                                                    /**
     * Gets the path to entity property for the given field.
     */
    private function getPropertyPath(string $fieldName, FieldConfig $fieldConfig = null): string
    {
        if (null === $fieldConfig) {
            return $fieldName;
        }

        return $fieldConfig->getPropertyPath($fieldName);
    }
                                            
Was this example useful?
0
                                                    public function getPropertyPath(string $fieldName, FieldConfig $fieldConfig = null): string
    {
        if (null === $fieldConfig) {
            return $fieldName;
        }

        return $fieldConfig->getPropertyPath($fieldName);
    }
                                            
FieldConfig's Other Methods
FieldConfig's Other Methods