src/Viserio/Component/StaticalProxy/Provider/AliasLoaderServiceProvider.php
public function getFactories(): array
    {
        return [
            AliasLoaderContract::class => [self::class, 'createAliasLoader'],
            AliasLoader::class         => static function (ContainerInterface $container) {
                return $container->get(AliasLoaderContract::class);
            },
            'alias' => static function (ContainerInterface $container) {
                return $container->get(AliasLoaderContract::class);
            },
        ];
    }
public function getFactories(): array
    {
        return [
            AliasLoaderContract::class => [self::class, 'createAliasLoader'],
            AliasLoader::class         => static function (ContainerInterface $container) {
                return $container->get(AliasLoaderContract::class);
            },
            'alias' => static function (ContainerInterface $container) {
                return $container->get(AliasLoaderContract::class);
            },
        ];
    }
{@inheritdoc}