firstcommit
This commit is contained in:
20
app/Services/SubscriptionService.php
Normal file
20
app/Services/SubscriptionService.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace App\Services;
|
||||
|
||||
use Modules\Subscription\app\Repositories\SubscriptionRepository;
|
||||
|
||||
class SubscriptionService
|
||||
{
|
||||
protected $subscriptionRepository;
|
||||
|
||||
public function __construct(SubscriptionRepository $subscriptionRepository)
|
||||
{
|
||||
$this->subscriptionRepository = $subscriptionRepository;
|
||||
}
|
||||
|
||||
public function storeSubscription(array $validated)
|
||||
{
|
||||
return $this->subscriptionRepository->storeSubscription($validated);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user