Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F22414786
ArcanistUserSymbolRefInspector.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
469 B
Referenced Files
None
Subscribers
None
ArcanistUserSymbolRefInspector.php
View Options
<?php
final
class
ArcanistUserSymbolRefInspector
extends
ArcanistRefInspector
{
public
function
getInspectFunctionName
()
{
return
'user'
;
}
public
function
newInspectRef
(
array
$argv
)
{
if
(
count
(
$argv
)
!==
1
)
{
throw
new
PhutilArgumentUsageException
(
pht
(
'Expected exactly one argument to "user(...)" with a '
.
'user symbol.'
));
}
return
id
(
new
ArcanistUserSymbolRef
())
->
setSymbol
(
$argv
[
0
]);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Nov 28, 01:21 (12 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1227382
Default Alt Text
ArcanistUserSymbolRefInspector.php (469 B)
Attached To
Mode
R118 Arcanist - fork
Attached
Detach File
Event Timeline