context = $context; } /** * Return the current WSDL context object * * @return Wsdl */ public function getContext() { return $this->context; } /** * Look through registered types * * @param string $phpType * @return string */ public function scanRegisteredTypes($phpType) { if (array_key_exists($phpType, $this->getContext()->getTypes())) { $soapTypes = $this->getContext()->getTypes(); return $soapTypes[$phpType]; } return null; } }