original_string: protected function checkEntityIsInConfig(): void
      {
          if (empty($this->configEntities)) {
              throw new NeuralyzerConfigurationException(
                  'No entities found. Have you loaded a configuration file ?'
              );
          }
          if (!array_key_exists($this->entity, $this->configEntities)) {
              throw new NeuralyzerConfigurationException(
                  "No configuration for that entity ({$this->entity})"
              );
          }
      }
code: protected function checkEntityIsInConfig(): void
      {
          if (empty($this->configEntities)) {
              throw new NeuralyzerConfigurationException(
                  'No entities found. Have you loaded a configuration file ?'
              );
          }
          if (!array_key_exists($this->entity, $this->configEntities)) {
              throw new NeuralyzerConfigurationException(
                  "No configuration for that entity ({$this->entity})"
              );
          }
      }
code_tokens: protected function checkEntityIsInConfig ( ) : void { if ( empty ( $ this -> configEntities ) ) { throw new NeuralyzerConfigurationException ( 'No entities found. Have you loaded a configuration file ?' ) ; } if ( ! array_key_exists ( $ this -> entity , $ this -> configEntities ) ) { throw new NeuralyzerConfigurationException ( "No configuration for that entity ({$this->entity})" ) ; } }
docstring: Make sure that entity is defined in the configuration
  
  @throws NeuralyzerConfigurationException
docstring_tokens: Make sure that entity is defined in the configuration