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