mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-08-19 00:00:15 +00:00
:octocat: redirect other deprecated vars
This commit is contained in:
+37
-1
@@ -557,7 +557,7 @@ trait QROptionsTrait{
|
||||
}
|
||||
|
||||
/*
|
||||
* redirect calls to new/renamed variables
|
||||
* redirect calls of deprecated variables to new/renamed property
|
||||
*/
|
||||
|
||||
/**
|
||||
@@ -596,4 +596,40 @@ trait QROptionsTrait{
|
||||
return $this->quality;
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated 5.0.0 use QROptions::$transparencyColor instead
|
||||
* @see \chillerlan\QRCode\QROptions::$transparencyColor
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
protected function set_imageTransparencyBG(array $imageTransparencyBG):void{
|
||||
$this->transparencyColor = $imageTransparencyBG;
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated 5.0.0 use QROptions::$transparencyColor instead
|
||||
* @see \chillerlan\QRCode\QROptions::$transparencyColor
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
protected function get_imageTransparencyBG(){
|
||||
return $this->transparencyColor;
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated 5.0.0 use QROptions::$bgColor instead
|
||||
* @see \chillerlan\QRCode\QROptions::$bgColor
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
protected function set_imagickBG(string $imagickBG):void{
|
||||
$this->bgColor = $imagickBG;
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated 5.0.0 use QROptions::$bgColor instead
|
||||
* @see \chillerlan\QRCode\QROptions::$bgColor
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
protected function get_imagickBG(){
|
||||
return $this->bgColor;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user