Changeset View
Changeset View
Standalone View
Standalone View
src/applications/conduit/controller/PhabricatorConduitController.php
| Show First 20 Lines • Show All 136 Lines • ▼ Show 20 Lines | $parts[] = phutil_tag( | ||||
| 'strong', | 'strong', | ||||
| array('class' => 'real'), | array('class' => 'real'), | ||||
| PhabricatorEnv::getURI('/')); | PhabricatorEnv::getURI('/')); | ||||
| $parts[] = ' '; | $parts[] = ' '; | ||||
| $parts[] = '--conduit-token '; | $parts[] = '--conduit-token '; | ||||
| $parts[] = phutil_tag('strong', array(), '<conduit-token>'); | $parts[] = phutil_tag('strong', array(), '<conduit-token>'); | ||||
| $parts[] = ' '; | $parts[] = ' '; | ||||
| $parts[] = '--'; | |||||
| $parts[] = ' '; | |||||
| $parts[] = $method->getAPIMethodName(); | $parts[] = $method->getAPIMethodName(); | ||||
| return $this->renderExampleCode($parts); | return $this->renderExampleCode($parts); | ||||
| } | } | ||||
| private function buildPHPExample( | private function buildPHPExample( | ||||
| ConduitAPIMethod $method, | ConduitAPIMethod $method, | ||||
| ▲ Show 20 Lines • Show All 150 Lines • Show Last 20 Lines | |||||