original_string: public function getSessionHandler(ContainerInterface $container): SessionHandlerInterface
      {
          $prefix = $container->get('ellipse.session.id.prefix');
          $ttl = $container->get('ellipse.session.ttl');
          $cache = $container->get('ellipse.session.cache');
  
          return new Psr6SessionHandler($cache, ['prefix' => $prefix, 'ttl' => $ttl]);
      }
code: public function getSessionHandler(ContainerInterface $container): SessionHandlerInterface
      {
          $prefix = $container->get('ellipse.session.id.prefix');
          $ttl = $container->get('ellipse.session.ttl');
          $cache = $container->get('ellipse.session.cache');
  
          return new Psr6SessionHandler($cache, ['prefix' => $prefix, 'ttl' => $ttl]);
      }
code_tokens: public function getSessionHandler ( ContainerInterface $ container ) : SessionHandlerInterface { $ prefix = $ container -> get ( 'ellipse.session.id.prefix' ) ; $ ttl = $ container -> get ( 'ellipse.session.ttl' ) ; $ cache = $ container -> get ( 'ellipse.session.cache' ) ; return new Psr6SessionHandler ( $ cache , [ 'prefix' => $ prefix , 'ttl' => $ ttl ] ) ; }
docstring: Return a session handler based on the cache item pool.
  
  @param \Psr\Container\ContainerInterface $container
  @return \SessionHandlerInterface
docstring_tokens: Return a session handler based on the cache item pool .