WSDL\Builder\AnnotationWSDLBuilder::buildForClass PHP Method

buildForClass() private method

private buildForClass ( ) : void
return void
    private function buildForClass()
    {
        $class = $this->reflectionClass();
        $webServiceAnnotation = $this->annotationReader->getClassAnnotation($class, '\\WSDL\\Annotation\\WebService');
        if ($webServiceAnnotation === null) {
            throw new AnnotationBuilderException('Class must have @WebService annotation');
        }
        /** @var ClassAnnotation[] $classAnnotations */
        $classAnnotations = $this->annotationReader->getClassAnnotations($class);
        foreach ($classAnnotations as $classAnnotation) {
            $classAnnotation->build($this->builder, $class);
        }
    }