Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F3282001
ArcanistCommitSymbolRefInspector.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
479 B
Referenced Files
None
Subscribers
None
ArcanistCommitSymbolRefInspector.php
View Options
<?php
final
class
ArcanistCommitSymbolRefInspector
extends
ArcanistRefInspector
{
public
function
getInspectFunctionName
(
)
{
return
'commit'
;
}
public
function
newInspectRef
(
array
$argv
)
{
if
(
count
(
$argv
)
!==
1
)
{
throw
new
PhutilArgumentUsageException
(
pht
(
'Expected exactly one argument to "commit(...)" with a '
.
'commit symbol.'
)
)
;
}
return
id
(
new
ArcanistCommitSymbolRef
(
)
)
->
setSymbol
(
$argv
[
0
]
)
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, Mar 24, 03:17 (1 d, 2 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1116250
Default Alt Text
ArcanistCommitSymbolRefInspector.php (479 B)
Attached To
Mode
rARC Arcanist
Attached
Detach File
Event Timeline
Log In to Comment