/** @return IRepository[] */
private function getLoadedRepositories()
{
$repositories = [];
foreach (array_keys($this->configuration[0]) as $className) {
if ($this->loader->isCreated($className)) {
$repositories[] = $this->loader->getRepository($className);
}
}
return $repositories;
}