/**
  * {@inheritdoc}
  */
 public function getMethod($class, $method)
 {
     $key = $this->buildKey($class, $method);
     if (!isset($this->methods[$key])) {
         $this->created_methods[] = $key;
     } else {
         $this->cached_methods[] = $key;
     }
     return parent::getMethod($class, $method);
 }