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

Method __construct

lib/Controller/DatasourceController.php:59–90  ·  view source on GitHub ↗
(
		string           $appName,
		IRequest         $request,
		LoggerInterface  $logger,
		Github           $GithubService,
		LocalCsv         $LocalCsvService,
		Regex            $RegexService,
		Exte

Source from the content-addressed store, hash-verified

57 const DATASET_TYPE_LOCAL_JSON = 8;
58
59 public function __construct(
60 string $appName,
61 IRequest $request,
62 LoggerInterface $logger,
63 Github $GithubService,
64 LocalCsv $LocalCsvService,
65 Regex $RegexService,
66 ExternalJson $ExternalJsonService,
67 LocalJson $LocalJsonService,
68 ExternalCsv $ExternalCsvService,
69 LocalSpreadsheet $LocalSpreadsheetService,
70 IL10N $l10n,
71 IEventDispatcher $dispatcher,
72 IAppConfig $appConfig,
73 VariableService $VariableService,
74 IUserSession $userSession,
75 ) {
76 parent::__construct($appName, $request);
77 $this->logger = $logger;
78 $this->ExternalCsvService = $ExternalCsvService;
79 $this->GithubService = $GithubService;
80 $this->RegexService = $RegexService;
81 $this->LocalCsvService = $LocalCsvService;
82 $this->ExternalJsonService = $ExternalJsonService;
83 $this->LocalJsonService = $LocalJsonService;
84 $this->LocalSpreadsheetService = $LocalSpreadsheetService;
85 $this->dispatcher = $dispatcher;
86 $this->l10n = $l10n;
87 $this->appConfig = $appConfig;
88 $this->VariableService = $VariableService;
89 $this->userSession = $userSession;
90 }
91
92 /**
93 * get all data source ids + names

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected