public function __construct(XmlDecoder $xmlDecoder, Parser $parser, Registry $storage, UuidResolver $uuidResolver) { $this->xmlDecoder = $xmlDecoder; $this->parser = $parser; $this->storage = $storage; $this->uuidResolver = $uuidResolver; }