code: public function getAdapter($class): Adapter
      {
          if (!isset($this->adapterCache[$class])) {
              $this->adapterCache[$class] = new Adapter($class);
          }
  
          return $this->adapterCache[$class];
      }
docs: {@inheritdoc}