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

Method index

lib/Controller/DatasourceController.php:98–101  ·  view source on GitHub ↗

* get all data source ids + names * * @param int|null $datasourceType * @return array */

(?int $datasourceType = null)

Source from the content-addressed store, hash-verified

96 * @return array
97 */
98 #[NoAdminRequired]
99 public function index(?int $datasourceType = null) {
100 return $this->buildDatasourceIndex($this->getDatasources($datasourceType));
101 }
102
103 /**
104 * get internal data source ids + names without dispatching registered datasource listeners

Callers 1

indexFilteredMethod · 0.95

Calls 2

buildDatasourceIndexMethod · 0.95
getDatasourcesMethod · 0.95

Tested by

no test coverage detected