public function getPropertyValueWithDefault($relPath, $defaultValue) { if ($this->hasProperty($relPath)) { return $this->getPropertyValue($relPath); } return $defaultValue; }