/** * @return string * * TODO: check if not better handled through options */ private function getPropertyPath() { $propertyPath = $this->getOption('property_path'); if (null === $propertyPath) { $propertyPath = $this->config->getName(); if (null === $this->datalist->getOption('data_class')) { $propertyPath = '[' . $propertyPath . ']'; } } return $propertyPath; }