dbms_primeidc/extdbms/lib/Controllers/DBMSController.php
2025-04-21 18:16:03 +09:00

26 lines
617 B
PHP

<?php
namespace lib\Controllers;
use lib\Controllers\CommonController;
use lib\Services\ServiceService;
abstract class DBMSController extends CommonController
{
private ?ServiceService $_service = null;
protected function __construct(array $params = [])
{
parent::__construct($params);
//View의 추가디렉토리
$this->getView()->setPath('dbms');
} //
final public function getServiceService(): ServiceService
{
if ($this->_service === null) {
$this->_service = new ServiceService();
}
return $this->_service;
}
} //Class