Page MenuHomeSealhub

ArcanistUserSymbolRefInspector.php
No OneTemporary

Authored By
Unknown
Size
469 B
Referenced Files
None
Subscribers
None

ArcanistUserSymbolRefInspector.php

<?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

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)

Event Timeline