public function getPathToProperty($property) { if ($this->isRootDocument()) { return $property; } return $this->getPathToDocument() . '.' . $property; }