public function formatPropertyValue($propertyName, $propertyValue) { $formattedPropertyValue = $propertyValue; if (isset($this->parent)) { $formattedPropertyValue = $this->parent->formatPropertyValue($propertyName, $formattedPropertyValue); } return $formattedPropertyValue; }