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