<?php


namespace Mainto\RpcServer\Util\Net\Address;


use Mainto\RpcServer\Util\Net\Address;

class UnixAddress implements Address {
    private string $address;

    public function __construct (string $address) {
        $this->address = $address;
    }

    public function network (): string {
        return "unix";
    }

    public function string (): string {
        return $this->address;
    }
}