public function __construct($type, ReflectionService $reflectionService) { $this->type = $type; $this->classSchema = $reflectionService->getClassSchema($type); }