Automation/app/Libraries/MySocketLibrary.php
2024-09-14 20:44:49 +09:00

21 lines
400 B
PHP

<?php
namespace App\Libraries;
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 public function getHost(): string
{
return $this->_host;
}
}