WSDL\Builder\AnnotationWSDLBuilder::build PHP Method

build() public method

public build ( )
    public function build()
    {
        if (!class_exists($this->class)) {
            throw new Exception('Class [' . $this->class . '] not exists');
        }
        $this->buildForClass();
        $this->buildForMethods();
        return $this;
    }

Usage Example

コード例 #1
0
ファイル: WSDL.php プロジェクト: piotrooo/wsdl-creator
 /**
  * @param string $class
  * @return WSDL
  */
 public static function fromAnnotations($class)
 {
     $annotationWSDLBuilder = new AnnotationWSDLBuilder($class);
     $WSDLBuilder = $annotationWSDLBuilder->build()->getBuilder();
     return self::fromBuilder($WSDLBuilder);
 }
All Usage Examples Of WSDL\Builder\AnnotationWSDLBuilder::build