|
@@ -507,6 +507,24 @@ class Service
|
|
return $this;
|
|
return $this;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
+ * @return $this Return all links
|
|
|
|
+ */
|
|
|
|
+ public function getLinks()
|
|
|
|
+ {
|
|
|
|
+ return isset($this->config["links"]) ? $this->config["links"] : null;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @param array $links Contains links.
|
|
|
|
+ * @return $this Return this.
|
|
|
|
+ */
|
|
|
|
+ public function setLinks($links)
|
|
|
|
+ {
|
|
|
|
+ $this->config["links"] = $links;
|
|
|
|
+ return $this;
|
|
|
|
+ }
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* @param $driver
|
|
* @param $driver
|
|
* @param bool $options
|
|
* @param bool $options
|