interface IEntity {}
/** @template E of IEntity */
interface IRepository {}
interface I {
/**
* Returns repository by repository class.
* @template E of IEntity
* @template T of IRepository<E>
* @phpstan-param class-string<T> $className
* @phpstan-return T
*/
function getRepository(string $className): IRepository;
}