scopeConfig->isSetFlag( self::ACTIVE_CAMPAIGN_CUSTOMER_SYNC, ScopeInterface::SCOPE_STORES, $scopeCode ); } /** * @param null $scopeCode * @return mixed */ public function getCronTime($scopeCode = null) { return $this->scopeConfig->getValue( CronConfig::CRON_MODEL_PATH, ScopeInterface::SCOPE_STORES, $scopeCode ); } /** * @param null $scopeCode * @return mixed */ public function getNumberOfCustomers($scopeCode = null) { return $this->scopeConfig->getValue( self::ACTIVE_CAMPAIGN_CUSTOMER_NUMBER_OF_CUSTOMERS, ScopeInterface::SCOPE_STORES, $scopeCode ); } }