Automation/app/Libraries/MySocket/MySocket.php
2024-09-16 14:13:10 +09:00

21 lines
402 B
PHP

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