WSDL\Builder\AnnotationWSDLBuilder::__construct PHP Method

__construct() public method

public __construct ( string $class )
$class string
    public function __construct($class)
    {
        AnnotationRegistry::registerAutoloadNamespace('WSDL\\Annotation', Path::join(__DIR__, '..', '..'));
        $this->class = $class;
        $this->builder = WSDLBuilder::instance();
        $this->annotationReader = new AnnotationReader();
    }