protected function getConnector($name, ConfigInterface $config)
 {
     if (!$config->has('directory')) {
         $settings = $config->toArray();
         $settings['directory'] = __DIR__ . '/Fixture';
         $config = new ArrayConfig($settings);
     }
     return new LocalConnector($name, $config);
 }
 protected function buildCacheKeyFor($subject, OutputFormatInterface $output_format, ConfigInterface $renderer_config)
 {
     // @todo this has to become way more sophisticated, maybe we could introduce an interface
     // so that objects could provide their own portion to the cache-key: ICacheKeySource.getCacheKey
     return sprintf('%s-%s-%s', $this->getSubjectName($subject), $output_format->getName(), $this->getHash($renderer_config->toArray()));
 }