Automation/app/Libraries/MySocket/MySocketLibrary.php
2024-09-09 16:41:45 +09:00

21 lines
412 B
PHP

<?php
namespace App\Libraries\MySocket;
use App\Libraries\CommonLibrary;
abstract class MySocketLibrary extends CommonLibrary
{
private $_host = null;
protected function __construct(string $host)
{
parent::__construct();
$this->_host = $host;
}
abstract public function getClient();
final protected function getHost(): string
{
return $this->_host;
}
}