private function getProperties() { $result = "\t\t\t'properties' => [\n"; $properties = []; foreach ($this->annotationParser->getProperties(PluginService::PROPERTY_ANNOTATION) as $field => $list) { $property = $this->getPropertyService($field, $list); if ($property != "") { $properties[] = sprintf("\t\t\t\t[\n%s\n\t\t\t\t]", $property); } } foreach ($this->annotationParser->getProperties(PluginService::PROPERTY_ANNOTATION_VALUE) as $field => $list) { $property = $this->getPropertyValue($field, $list); if ($property != "") { $properties[] = sprintf("\t\t\t\t[\n%s\n\t\t\t\t]", $property); } } $result .= implode(",\n", $properties); $result .= "\n\t\t\t]\n"; return $result; }