src/Jira/Api.php
public function setEndpoint($url)
	{
		// Remove trailing slash in the url.
		$url = rtrim($url, '/');

		if ( $url !== $this->endpoint ) {
			$this->endpoint = $url;
			$this->clearLocalCaches();
		}
	}
public function setEndpoint($url)
	{
		// Remove trailing slash in the url.
		$url = rtrim($url, '/');

		if ( $url !== $this->endpoint ) {
			$this->endpoint = $url;
			$this->clearLocalCaches();
		}
	}
public function setEndpoint ( $ url ) { // Remove trailing slash in the url. $ url = rtrim ( $ url , '/' ) ; if ( $ url !== $ this -> endpoint ) { $ this -> endpoint = $ url ; $ this -> clearLocalCaches ( ) ; } }
Set Endpoint URL.

@param string $url Endpoint URL.

@return void
Set Endpoint URL .