Commit b972bf55 authored by Dainis Abols's avatar Dainis Abols
Browse files

Added getters and setters for api urls

parent af466162
{
"name": "luitd/viis-schools",
"version": "1.0.2",
"version": "1.0.3",
"description": "VIIS connector. Fetches official Latvian list of schools from Ministry of Education and Science",
"type": "library",
"authors": [
......
......@@ -94,6 +94,46 @@ class VIISSchools
unset($this->soapClient);
}
/**
* Get live url
*
* @return string
*/
public function getUrlLive(): string
{
return $this->urlLive;
}
/**
* Set live url
*
* @param string $urlLive
*/
public function setUrlLive(string $urlLive): void
{
$this->urlLive = $urlLive;
}
/**
* Get test url
*
* @return string
*/
public function getUrlTest(): string
{
return $this->urlTest;
}
/**
* Set test url
*
* @param string $urlTest
*/
public function setUrlTest(string $urlTest): void
{
$this->urlTest = $urlTest;
}
/**
* Set test environment
*/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment