original_string: public function getEntityConfig(string $entity): array
      {
          if (!array_key_exists($entity, $this->configValues['entities'])) {
              throw new \InvalidArgumentException("$entity is not set in config");
          }
  
          return $this->configValues['entities'][$entity];
      }
code: public function getEntityConfig(string $entity): array
      {
          if (!array_key_exists($entity, $this->configValues['entities'])) {
              throw new \InvalidArgumentException("$entity is not set in config");
          }
  
          return $this->configValues['entities'][$entity];
      }
code_tokens: public function getEntityConfig ( string $ entity ) : array { if ( ! array_key_exists ( $ entity , $ this -> configValues [ 'entities' ] ) ) { throw new \ InvalidArgumentException ( "$entity is not set in config" ) ; } return $ this -> configValues [ 'entities' ] [ $ entity ] ; }
docstring: Get config values for an entity
  
  @param  string $entity
  
  @throws \InvalidArgumentException
  @return array            Config Values
docstring_tokens: Get config values for an entity