mirror of
https://github.com/Bigherollc/wticreatorstudio.git
synced 2026-10-12 15:13:02 -04:00
32 lines
746 B
PHP
32 lines
746 B
PHP
<?php
|
|
|
|
namespace Modules\Marketing\Services;
|
|
|
|
use \Modules\Marketing\Repositories\SubscriberRepository;
|
|
|
|
class SubscriberService{
|
|
|
|
protected $subscriberRepository;
|
|
|
|
public function __construct(SubscriberRepository $subscriberRepository)
|
|
{
|
|
$this->subscriberRepository = $subscriberRepository;
|
|
}
|
|
|
|
public function getAll(){
|
|
return $this->subscriberRepository->getAll();
|
|
}
|
|
|
|
public function deleteById($id){
|
|
return $this->subscriberRepository->deleteById($id);
|
|
}
|
|
public function statusChange($data){
|
|
return $this->subscriberRepository->statusChange($data);
|
|
}
|
|
|
|
public function sendVerifyLink($id){
|
|
return $this->subscriberRepository->sendVerifyLink($id);
|
|
}
|
|
|
|
}
|