private function loadClassesFromXml(): void
{ parent::
__construct($this->file
);
// This method may throw an exception. Do not modify the class'
// state before it completes
$xml =
$this->
parseFile($this->file
);
$this->classes =
[];
foreach ($xml->namespace
as $namespace) { $this->
addNamespaceAlias((string) $namespace['prefix'
],
trim((string) $namespace));
} foreach ($xml->class
as $class) { $this->classes
[(string) $class['name'
]] =
$class;
} } private function loadClassMetadataFromXml(ClassMetadata
$metadata, \SimpleXMLElement
$classDescription): void
{ if (\
count($classDescription->
{'group-sequence-provider'
}) > 0
) { $metadata->
setGroupSequenceProvider(true
);
}