Sync/Extractor/AbstractExtractor.php
protected function getShopIds()
    {
        $shopIds = [];

        try {
            $shops = $this->container->getParameter('ongr_connections.shops');
        } catch (InvalidArgumentException $e) {
            $shops = [];
        }

        foreach ($shops as $shop) {
            $shopIds[] = $shop['shop_id'];
        }

        return $shopIds;
    }
protected function getShopIds()
    {
        $shopIds = [];

        try {
            $shops = $this->container->getParameter('ongr_connections.shops');
        } catch (InvalidArgumentException $e) {
            $shops = [];
        }

        foreach ($shops as $shop) {
            $shopIds[] = $shop['shop_id'];
        }

        return $shopIds;
    }
protected function getShopIds ( ) { $ shopIds = [ ] ; try { $ shops = $ this -> container -> getParameter ( 'ongr_connections.shops' ) ; } catch ( InvalidArgumentException $ e ) { $ shops = [ ] ; } foreach ( $ shops as $ shop ) { $ shopIds [ ] = $ shop [ 'shop_id' ] ; } return $ shopIds ; }
Gets ids of shops from the configuration.

@return array
Gets ids of shops from the configuration .