JiraRestApi\JiraClient::createUrlByContext PHP Method

createUrlByContext() protected method

Get URL by context.
protected createUrlByContext ( string $context ) : string
$context string
return string
    protected function createUrlByContext($context)
    {
        $host = $this->getConfiguration()->getJiraHost();
        return $host . $this->api_uri . '/' . preg_replace('/\\//', '', $context, 1);
    }