feat: integrate with flysystem for xml data

This commit is contained in:
Björn Fromme committed 2025-03-26 16:07:37 +01:00
1 parent 036734eadf
commit e4e03a848b
12 files changed
+617 -24

No files matched your search

+6 -3
View File
@@ -4,6 +4,7 @@ namespace App\BusProNet\XmlLoader;
use App\BusProNet\TypeConversionTrait;
use App\BusProNet\XmlParserTrait;
use League\Flysystem\FilesystemOperator;
use Symfony\Contracts\Cache\CacheInterface;
abstract class AbstractLoader
@@ -11,7 +12,9 @@ abstract class AbstractLoader
use TypeConversionTrait;
use XmlParserTrait;
public function __construct(protected readonly CacheInterface $cache, protected readonly ?string $xmlPath = null)
{
public function __construct(
protected readonly CacheInterface $cache,
protected readonly FilesystemOperator $xmlExport,
) {
}
}
}