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];
    }
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];
    }
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 ] ; }
Get config values for an entity

@param  string $entity

@throws \InvalidArgumentException
@return array            Config Values
Get config values for an entity