/**
  * @param PhpAnnotationBlock $annotationBlock
  * @return OperationAnnotationBlock
  */
 protected function addOperationMethodMetaInformations(PhpAnnotationBlock $annotationBlock)
 {
     $soapHeaderNames = $this->getMethod()->getMetaValue(TagHeader::META_SOAP_HEADER_NAMES, array());
     $soapHeaderTypes = $this->getMethod()->getMetaValue(TagHeader::META_SOAP_HEADER_TYPES, array());
     $soapHeaderNamespaces = $this->getMethod()->getMetaValue(TagHeader::META_SOAP_HEADER_NAMESPACES, array());
     $soapHeaders = $this->getMethod()->getMetaValue(TagHeader::META_SOAP_HEADERS, array());
     if (!empty($soapHeaderNames) && !empty($soapHeaderTypes) && !empty($soapHeaderNamespaces)) {
         $annotationBlock->addChild('Meta informations extracted from the WSDL')->addChild(new PhpAnnotation(PhpAnnotation::NO_NAME, sprintf('- SOAPHeaderNames : %s', implode(', ', $soapHeaderNames)), AbstractModelFile::ANNOTATION_LONG_LENGTH))->addChild(new PhpAnnotation(PhpAnnotation::NO_NAME, sprintf('- SOAPHeaderNamespaces : %s', implode(', ', $soapHeaderNamespaces)), AbstractModelFile::ANNOTATION_LONG_LENGTH))->addChild(new PhpAnnotation(PhpAnnotation::NO_NAME, sprintf('- SOAPHeaderTypes : %s', implode(', ', $this->getSoapHeaderTypesTypes($soapHeaderTypes))), AbstractModelFile::ANNOTATION_LONG_LENGTH))->addChild(new PhpAnnotation(PhpAnnotation::NO_NAME, sprintf('- SOAPHeaders : %s', implode(', ', $soapHeaders)), AbstractModelFile::ANNOTATION_LONG_LENGTH));
     }
     FileUtils::defineModelAnnotationsFromWsdl($annotationBlock, $this->getMethod(), array(TagHeader::META_SOAP_HEADER_NAMES, TagHeader::META_SOAP_HEADER_NAMESPACES, TagHeader::META_SOAP_HEADER_TYPES, TagHeader::META_SOAP_HEADERS));
     return $this;
 }
 /**
  * @param AbstractModel $model
  * @return string[]
  */
 protected function getValidMetaValues(AbstractModel $model)
 {
     return FileUtils::getValidMetaValues($model);
 }
 /**
  * @param PhpAnnotationBlock $block
  * @param AbstractModel $model
  * @return AbstractModelFile
  */
 protected function defineModelAnnotationsFromWsdl(PhpAnnotationBlock $block, AbstractModel $model = null)
 {
     FileUtils::defineModelAnnotationsFromWsdl($block, $model instanceof AbstractModel ? $model : $this->getModel());
     return $this;
 }