wip: initial commit

This commit is contained in:
Björn Fromme
2024-11-20 18:32:09 +01:00
parent ae964198e9
commit d4c4e69d09
91 changed files with 32685 additions and 144 deletions
@@ -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);
}
}