getClassAnnotations($reflection)); $this->configureForm($annotations, $reflection, $formSpec, $filterSpec); foreach ($reflection->getProperties() as $property) { $annotations = new AnnotationCollection($reader->getPropertyAnnotations($property)); $this->configureElement($annotations, $property, $formSpec, $filterSpec); } return [$formSpec, $filterSpec]; } }