MCPcopy Create free account
hub / github.com/Rello/analytics / __construct

Method __construct

lib/Service/BundleImportService.php:16–27  ·  view source on GitHub ↗
(
		private $userId,
		private ReportService $reports,
		private DatasetService $datasets,
		private PanoramaService $panoramas,
		private ThresholdService $thresholds,
		private StorageMapper $storag

Source from the content-addressed store, hash-verified

14/** Dispatches old report files and portable bundles through the normal import endpoint. */
15class BundleImportService {
16 public function __construct(
17 private $userId,
18 private ReportService $reports,
19 private DatasetService $datasets,
20 private PanoramaService $panoramas,
21 private ThresholdService $thresholds,
22 private StorageMapper $storage,
23 private IRootFolder $rootFolder,
24 private IDBConnection $db,
25 private IConfig $config,
26 private ILockingProvider $locking,
27 ) {}
28
29 public function import(?string $path = null, ?string $raw = null): int|array {
30 if ($path !== null && $path !== '') $raw = $this->rootFolder->getUserFolder($this->userId)->get($path)->getContent();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected