/** * Gets the endpoint location of the webservice. * * @return string */ public function getLocation() { if (ckString::isNullOrEmpty($this->location)) { $this->location = $this->getNamespace()->getUrl() . $this->getName() . '.php'; } return $this->location; }
/** * Gets the name of the method. * * @return string The method name */ public function getName() { if (ckString::isNullOrEmpty($this->name)) { $this->name = $this->invokeCreateMethodNameCallback($this->target); } return $this->name; }
/** * (non-PHPdoc) * @see vendor/addendum/Annotation#checkConstraints() */ protected function checkConstraints($target) { if (ckString::isNullOrEmpty($this->name) || ckString::isNullOrEmpty($this->type)) { throw new InvalidArgumentException(); } }