34 lines
852 B
PHP
34 lines
852 B
PHP
<?php
|
|
|
|
namespace App\Services\Equipment\Part;
|
|
|
|
use App\Entities\Equipment\Part\RamEntity;
|
|
use App\Models\Equipment\Part\RamModel;
|
|
use CodeIgniter\HTTP\IncomingRequest;
|
|
use App\Services\Equipment\Link\RamService as LinkService;
|
|
|
|
class RamService extends PartService
|
|
{
|
|
protected ?IncomingRequest $request = null;
|
|
public function __construct(?IncomingRequest $request = null)
|
|
{
|
|
parent::__construct($request);
|
|
}
|
|
public function getClassName(): string
|
|
{
|
|
return parent::getClassName() . DIRECTORY_SEPARATOR . "Ram";
|
|
}
|
|
public function getModelClass(): RamModel
|
|
{
|
|
return new RamModel();
|
|
}
|
|
public function getEntityClass(): RamEntity
|
|
{
|
|
return new RamEntity();
|
|
}
|
|
protected function getLinkService(): LinkService
|
|
{
|
|
return new LinkService($this->request);
|
|
}
|
|
}
|