mirror of
https://github.com/Bigherollc/wticreatorstudio.git
synced 2026-10-07 18:13:18 -04:00
30 lines
692 B
PHP
30 lines
692 B
PHP
<?php
|
|
|
|
namespace Modules\Seller\Services;
|
|
|
|
use Illuminate\Support\Facades\Validator;
|
|
use \Modules\Seller\Repositories\ProductReviewRepository;
|
|
|
|
class ProductReviewService{
|
|
|
|
protected $productReviewRepository;
|
|
|
|
public function __construct(ProductReviewRepository $productReviewRepository)
|
|
{
|
|
$this->productReviewRepository = $productReviewRepository;
|
|
}
|
|
|
|
public function getAll()
|
|
{
|
|
return $this->productReviewRepository->getAll();
|
|
}
|
|
|
|
public function getById($id){
|
|
return $this->productReviewRepository->getById($id);
|
|
}
|
|
public function reviewStore($data){
|
|
return $this->productReviewRepository->reviewStore($data);
|
|
}
|
|
|
|
}
|