wip: initial commit

This commit is contained in:
Björn Fromme committed 2024-11-20 18:32:09 +01:00
1 parent ae964198e9
commit d4c4e69d09
91 files changed
+32685 -144

No files matched your search

@@ -0,0 +1,15 @@
<?php
namespace App\BusProNet\ApiResponseParser;
use App\BusProNet\Model\Notification;
class NotificationResponseParser
{
public function parse(\SimpleXMLElement $xml): Notification
{
$recordXml = $xml->satz;
return new Notification((int) $recordXml->nr, (string) $recordXml->text);
}
}