first commit
This commit is contained in:
19
app/Core/Repository/Offer/OfferRepository.php
Normal file
19
app/Core/Repository/Offer/OfferRepository.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace App\Core\Repository\Offer;
|
||||
|
||||
use App\Models\Offer;
|
||||
use App\Core\Repository\EleqouentAbstractRepository;
|
||||
|
||||
class OfferRepository extends EleqouentAbstractRepository
|
||||
{
|
||||
private $offer;
|
||||
|
||||
public function __construct(Offer $offer)
|
||||
{
|
||||
parent::__construct();
|
||||
$this->offer = $offer;
|
||||
$this->defaultModel = $this->offer;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user