Something went wrong. Try again.
@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
Something went wrong. Try again.
851 B · 48 lines
PHP
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849<?php
final class DiffusionServiceRef extends Phobject {
private $uri; private $protocol; private $isWritable; private $devicePHID; private $deviceName;
private function __construct() { return; }
public static function newFromDictionary(array $map) { $ref = new self();
$ref->uri = $map['uri']; $ref->isWritable = $map['writable']; $ref->devicePHID = $map['devicePHID']; $ref->protocol = $map['protocol']; $ref->deviceName = $map['device'];
return $ref; }
public function isWritable() { return $this->isWritable; }
public function getDevicePHID() { return $this->devicePHID; }
public function getURI() { return $this->uri; }
public function getProtocol() { return $this->protocol; }
public function getDeviceName() { return $this->deviceName; }
}