29 lines
698 B
PHP
29 lines
698 B
PHP
<?php
|
|
|
|
namespace App\Services\Customer;
|
|
|
|
use App\Entities\Customer\AccountEntity;
|
|
use App\Models\Customer\AccountModel;
|
|
use CodeIgniter\HTTP\IncomingRequest;
|
|
|
|
class AccountService extends CustomerService
|
|
{
|
|
protected ?IncomingRequest $request = null;
|
|
public function __construct(?IncomingRequest $request = null)
|
|
{
|
|
parent::__construct($request);
|
|
}
|
|
public function getClassName(): string
|
|
{
|
|
return parent::getClassName() . DIRECTORY_SEPARATOR . "Account";
|
|
}
|
|
public function getModelClass(): AccountModel
|
|
{
|
|
return new AccountModel();
|
|
}
|
|
public function getEntityClass(): AccountEntity
|
|
{
|
|
return new AccountEntity();
|
|
}
|
|
}
|