public static function getConfiguration(array $repositories)
	{
		$config = [[], [], []];
		foreach ($repositories as $name => $repository) {
			/** @var string $className */
			$className = is_object($repository) ? get_class($repository) : $repository;
			$config[0][$className] = true;
			$config[1][$name] = $className;
			foreach ($repository::getEntityClassNames() as $entityClassName) {
				$config[2][$entityClassName] = $className;
			}
		}
		return $config;
	}
public static function getConfiguration(array $repositories)
	{
		$config = [[], [], []];
		foreach ($repositories as $name => $repository) {
			/** @var string $className */
			$className = is_object($repository) ? get_class($repository) : $repository;
			$config[0][$className] = true;
			$config[1][$name] = $className;
			foreach ($repository::getEntityClassNames() as $entityClassName) {
				$config[2][$entityClassName] = $className;
			}
		}
		return $config;
	}
public static function getConfiguration ( array $ repositories ) { $ config = [ [ ] , [ ] , [ ] ] ; foreach ( $ repositories as $ name => $ repository ) { /** @var string $className */ $ className = is_object ( $ repository ) ? get_class ( $ repository ) : $ repository ; $ config [ 0 ] [ $ className ] = true ; $ config [ 1 ] [ $ name ] = $ className ; foreach ( $ repository :: getEntityClassNames ( ) as $ entityClassName ) { $ config [ 2 ] [ $ entityClassName ] = $ className ; } } return $ config ; }
Creates repository list configuration.
@param  IRepository[]|string[] $repositories
@return array
Creates repository list configuration .