public function addSchemaParser(SchemaParserInterface $schemaParser)
    {
        foreach ($schemaParser->getCompatibleContentTypes() as $contentType) {
            $this->schemaParsers[$contentType] = $schemaParser;
        }
    }
public function addSchemaParser(SchemaParserInterface $schemaParser)
    {
        foreach ($schemaParser->getCompatibleContentTypes() as $contentType) {
            $this->schemaParsers[$contentType] = $schemaParser;
        }
    }
public function addSchemaParser ( SchemaParserInterface $ schemaParser ) { foreach ( $ schemaParser -> getCompatibleContentTypes ( ) as $ contentType ) { $ this -> schemaParsers [ $ contentType ] = $ schemaParser ; } }
Add a new schema parser
Add a new schema parser