private function findPHPNamespace(SchemaItem $item)
{
$schema = $item->getSchema();
if (!isset($this->namespaces[$schema->getTargetNamespace()])) {
throw new Exception(sprintf("Can't find a PHP namespace to '%s' namespace", $schema->getTargetNamespace()));
}
return $this->namespaces[$schema->getTargetNamespace()];
}