code: public function get(string $beanId)
      {
          if (!isset($this->beans[$beanId])) {
              throw new \InvalidArgumentException(
                  sprintf('Bean "%s" not defined in store!', $beanId)
              );
          }
  
          return $this->beans[$beanId];
      }
docs: {@inheritdoc}