The property GrpHdr does not seem to exist in SimpleXMLElement.
An attempt at access to an undefined property has been detected. This may either be a typographical error
or the property has been renamed but there are still references to its old name.
If you really want to allow access to undefined properties, you can define magic methods
to allow access. See the php core documentation on Overloading.
Loading history...
19
3
$groupHeader = new Camt054V04DTO\GroupHeader(
20
3
(string)$xmlGroupHeader->MsgId,
21
3
new DateTimeImmutable((string)$xmlGroupHeader->CreDtTm)
22
3
);
23
24
3
if (isset($xmlGroupHeader->OrgnlBizQry)) {
25
3
$originalBusinessQuery = new Camt054V04DTO\OriginalBusinessQuery(
26
3
(string) $xmlGroupHeader->OrgnlBizQry->MsgId
27
3
);
28
29
3
if (isset($xmlGroupHeader->OrgnlBizQry->CreDtTm)) {
30
3
$originalBusinessQuery->setCreatedOn(
31
3
new DateTimeImmutable((string) $xmlGroupHeader->OrgnlBizQry->CreDtTm)
32
3
);
33
3
}
34
35
3
if (isset($xmlGroupHeader->OrgnlBizQry->MsgNmId)) {
An attempt at access to an undefined property has been detected. This may either be a typographical error or the property has been renamed but there are still references to its old name.
If you really want to allow access to undefined properties, you can define magic methods to allow access. See the php core documentation on Overloading.