mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-11 17:44:44 +08:00
Added new app config param to allow disabling short URL visits tracking
This commit is contained in:
@@ -22,6 +22,10 @@ class AppOptions extends AbstractOptions
|
||||
* @var string
|
||||
*/
|
||||
protected $secretKey = '';
|
||||
/**
|
||||
* @var string|null
|
||||
*/
|
||||
protected $disableTrackParam;
|
||||
|
||||
/**
|
||||
* AppOptions constructor.
|
||||
@@ -86,6 +90,24 @@ class AppOptions extends AbstractOptions
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string|null
|
||||
*/
|
||||
public function getDisableTrackParam()
|
||||
{
|
||||
return $this->disableTrackParam;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string|null $disableTrackParam
|
||||
* @return $this|self
|
||||
*/
|
||||
protected function setDisableTrackParam($disableTrackParam): self
|
||||
{
|
||||
$this->disableTrackParam = $disableTrackParam;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user