23 lines
524 B
PHP
23 lines
524 B
PHP
<?php
|
|
|
|
namespace lib\Controllers\DBMS;
|
|
|
|
use lib\Services\ServerService;
|
|
|
|
class ServerController extends DBMSController
|
|
{
|
|
private ?ServerService $_serverService = null;
|
|
public function __construct()
|
|
{
|
|
parent::__construct();
|
|
$this->getView()->setPath('server');
|
|
} //
|
|
public function getServerService(): ServerService
|
|
{
|
|
if ($this->_serverService === null) {
|
|
$this->_serverService = new ServerService();
|
|
}
|
|
return $this->_serverService;
|
|
}
|
|
} //Class
|