/** * Returns all calls for the service * @return ServiceCallReflector[] An array of ServiceCallReflector objects */ public function getCalls() { $calls = array(); foreach ($this->reflClass->getMethods() as $method) { if (ServiceCallReflector::isServiceCall($method, $this->reader)) { $calls[] = new ServiceCallReflector($method, $this->reader); } } return $calls; }