Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F538518
DiffusionServiceRef.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
851 B
Referenced Files
None
Subscribers
None
DiffusionServiceRef.php
View Options
<?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
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, May 12, 8:49 AM (1 d, 18 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
108757
Default Alt Text
DiffusionServiceRef.php (851 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment