original_string: public function endpoint() {
  		$endpoint = $this->getset('endpoint', func_get_args());
  		return $this->validateEndpoint($endpoint ?: self::URI_API);
  	}
code: public function endpoint() {
  		$endpoint = $this->getset('endpoint', func_get_args());
  		return $this->validateEndpoint($endpoint ?: self::URI_API);
  	}
code_tokens: public function endpoint ( ) { $ endpoint = $ this -> getset ( 'endpoint' , func_get_args ( ) ) ; return $ this -> validateEndpoint ( $ endpoint ? : self :: URI_API ) ; }
docstring: Get and optionally set the endpoint.
  
  @param string $endpoint (optional)
  @return string
docstring_tokens: Get and optionally set the endpoint .