code: protected function getShopId(ContainerBuilder $container, $shop, $name)
      {
          $shops = $container->getParameter('ongr_connections.shops');
          if (!isset($shops[$shop])) {
              throw new \InvalidArgumentException('Non existing shop provided for pipeline ' . $name);
          }
  
          return $shops[$shop]['shop_id'];
      }
docs: Retrieves shop id by shop name.
  
  @param ContainerBuilder $container
  @param string           $shop
  @param string           $name
  
  @return mixed