public function __construct(ClassResolverInterface $container, ConfigInterface $config)
{
$this->container = $container;
$this->config = $config;
$this->factories = ['native' => [$this, 'makeNativeHandler'], 'file' => [$this, 'makeFileHandler'], 'pdo' => [$this, 'makePdoHandler'], 'mongo' => [$this, 'makeMongoHandler'], 'memcache' => [$this, 'makeMemcacheHandler'], 'memcached' => [$this, 'makeMemcachedHandler'], 'null' => [$this, 'makeNullHandler']];
}