context = $context; } /** * Return the current WSDL context object * * @return Wsdl */ public function getContext() { return $this->context; } /** * Look through registered types * * @param string $phpType * @return null|string */ public function scanRegisteredTypes($phpType) { if (array_key_exists($phpType, $this->getContext()->getTypes())) { $soapTypes = $this->getContext()->getTypes(); return $soapTypes[$phpType]; } return null; } /** * Sets the strategy for generating complex type documentation * * @return void */ public function setDocumentationStrategy(DocumentationStrategyInterface $documentationStrategy) { $this->documentationStrategy = $documentationStrategy; } }