code: public function define(ContainerInterface $container, Configuration $config)
      {
          $dispatcher = new Dispatcher;
  
          $router = $config->get('app.router', new Router);
  
          if (interface_exists('FastRoute\Dispatcher')) {
              $dispatcher = new FastRouteDispatcher;
          }
  
          if (class_exists('Phroute\Phroute\Dispatcher')) {
              $resolver = new PhrouteResolver($container);
  
              $dispatcher = new PhrouteDispatcher(null, $resolver);
          }
  
          $container->set('Rougin\Slytherin\Routing\DispatcherInterface', $dispatcher);
  
          $container->set('Rougin\Slytherin\Routing\RouterInterface', $router);
  
          return $container;
      }
docs: Defines the specified integration.
  
  @param  \Rougin\Slytherin\Container\ContainerInterface $container
  @param  \Rougin\Slytherin\Integration\Configuration    $config
  @return \Rougin\Slytherin\Container\ContainerInterface