Lines Matching refs:call
153 foreach ($methods as $method => $call) {
155 'post' => $this->getMethodDefinition($method, $call),
164 * @param ApiCall $call The call definition
167 protected function getMethodDefinition(string $method, ApiCall $call) argument
169 $description = $call->getDescription();
170 $links = $call->getDocs()->getTag('link');
178 $retType = $call->getReturn()['type'];
181 'description' => $call->getReturn()['description'],
189 'summary' => $call->getSummary() ?: $method,
191 'tags' => [PhpString::ucwords($call->getCategory())],
195 'application/json' => $this->getMethodArguments($call->getArgs()),
231 if ($call->isPublic()) {
239 if ($call->getDocs()->getTag('deprecated')) {
242 $call->getDocs()->getTag('deprecated')[0] .