code: public function define(ContainerInterface $container, Configuration $config)
      {
          $response = $container->get('Psr\Http\Message\ResponseInterface');
  
          $stack = $config->get('app.middlewares', array());
  
          $dispatcher = $this->dispatcher($response, $stack);
  
          $interface = 'Rougin\Slytherin\Middleware\MiddlewareInterface';
  
          return $container->set($interface, $dispatcher);
      }
docs: Defines the specified integration.
  
  @param  \Rougin\Slytherin\Container\ContainerInterface $container
  @param  \Rougin\Slytherin\Integration\Configuration    $config
  @return \Rougin\Slytherin\Container\ContainerInterface