/** * @param XsdGeneratePhpArgs $input * @param PhpConverter $converter * @return \GoetasWebservices\XML\XSDReader\Schema\Schema[] */ protected function readSchema(XsdGeneratePhpArgs $input, PhpConverter $converter) { $this->outputWriteLine("Reading schemas:"); $schemas = array(); foreach ($input->getSourceList() as $source) { $schema = $this->readSource($input, $converter, $source); $schemas[spl_object_hash($schema)] = $schema; } return $schemas; }