29 lines
698 B
PHP
29 lines
698 B
PHP
<?php
|
|
|
|
namespace App\Services\Device;
|
|
|
|
use App\Entities\Device\SoftwareEntity;
|
|
use App\Models\Device\SoftwareModel;
|
|
use CodeIgniter\HTTP\IncomingRequest;
|
|
|
|
class SoftwareService extends DeviceService
|
|
{
|
|
protected ?IncomingRequest $request = null;
|
|
public function __construct(?IncomingRequest $request = null)
|
|
{
|
|
parent::__construct($request);
|
|
}
|
|
public function getClassName(): string
|
|
{
|
|
return parent::getClassName() . DIRECTORY_SEPARATOR . "Software";
|
|
}
|
|
public function getModelClass(): SoftwareModel
|
|
{
|
|
return new SoftwareModel();
|
|
}
|
|
public function getEntityClass(): SoftwareEntity
|
|
{
|
|
return new SoftwareEntity();
|
|
}
|
|
}
|