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
/**
* 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);
}
public function getPropertyPath(string $fieldName, FieldConfig $fieldConfig = null): string
{
if (null === $fieldConfig) {
return $fieldName;
}
return $fieldConfig->getPropertyPath($fieldName);
}