/**
  * {@inheritDoc}
  */
 public function isSupported(\ReflectionParameter $parameter, \ReflectionFunctionAbstract $method)
 {
     $cacheKey = 'parameter.converter.orm.parameters';
     $key = KeyGenerator::generateForParameter($parameter, $method);
     $parameters = $this->cache->get($cacheKey);
     if (null === $parameters) {
         $parameters = [];
     }
     if (!isset($parameters[$key])) {
         $supports = $this->delegate->isSupported($parameter, $method);
         $parameters[$key] = $supports;
         $mustUpdateCache = true;
     } else {
         $supports = $parameters[$key];
         $mustUpdateCache = false;
     }
     if ($mustUpdateCache) {
         $this->cache->set($cacheKey, $parameters);
     }
     return $supports;
 }
 /**
  * {@inheritDoc}
  */
 public function isSupported(\ReflectionParameter $parameter, \ReflectionFunctionAbstract $method)
 {
     return $this->reader->isSupported($parameter, $method);
 }