Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F12661347
ArcanistBrowseRefInspector.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
458 B
Referenced Files
None
Subscribers
None
ArcanistBrowseRefInspector.php
View Options
<?php
final
class
ArcanistBrowseRefInspector
extends
ArcanistRefInspector
{
public
function
getInspectFunctionName
()
{
return
'browse'
;
}
public
function
newInspectRef
(
array
$argv
)
{
if
(
count
(
$argv
)
!==
1
)
{
throw
new
PhutilArgumentUsageException
(
pht
(
'Expected exactly one argument to "browse(...)" with a '
.
'token.'
));
}
return
id
(
new
ArcanistBrowseRef
())
->
setToken
(
$argv
[
0
]);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Fri, Nov 28, 15:45 (1 d, 4 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1059233
Default Alt Text
ArcanistBrowseRefInspector.php (458 B)
Attached To
Mode
R118 Arcanist - fork
Attached
Detach File
Event Timeline
Log In to Comment