Network\SIG_Base::__construct PHP Метод

__construct() публичный Метод

For global socket signal the info can be left null.
public __construct ( $connection = null, $socket = null ) : void
Результат void
    public function __construct($connection = null, $socket = null)
    {
        if (null !== $socket) {
            $this->socket = $socket;
        }
        parent::__construct();
        if (null === $connection) {
            return;
        }
        $this->_index = spl_object_hash($connection) . '.' . get_class($this);
    }
SIG_Base