src/Http/RelayServiceProvider.php
public function getRelay(ContainerInterface $container)
    {
        /** @var RelayBuilder $builder */
        $builder = $container->get(RelayBuilder::class);

        return $builder->newInstance($this->middlewares);
    }
public function getRelay(ContainerInterface $container)
    {
        /** @var RelayBuilder $builder */
        $builder = $container->get(RelayBuilder::class);

        return $builder->newInstance($this->middlewares);
    }
@param ContainerInterface $container

@return Relay