public function getCampaignsRepository() { trigger_error(sprintf('%s:%s is deprecated since Shopware 5.6 and will be private with 5.8.', __CLASS__, __METHOD__
), E_USER_DEPRECATED
);
if ($this->campaignsRepository === null
) { $this->campaignsRepository =
$this->
get('models'
)->
getRepository(Newsletter::
class);
} return $this->campaignsRepository;
} /**
* Gets a list of the custom newsletter groups (s_campaigns_groups)
*/
public function getNewsletterGroupsAction() { $filter =
$this->
Request()->
getParam('filter'
);