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