Wrench\Socket\Socket::getName PHP Method

getName() protected method

Gets the name of the socket
protected getName ( ) : string
return string
    protected function getName()
    {
        if (!isset($this->name) || !$this->name) {
            $this->name = @stream_socket_get_name($this->socket, true);
        }
        return $this->name;
    }