]> Raphaƫl G. Git Repositories - packbundle/blobdiff - Util/ImageUtil.php
Remove unused captcha controller
[packbundle] / Util / ImageUtil.php
index 8e111b914d0723d4dd8a6232f6780d57d6a19ecc..03b461623a65226fe1b98cf84a21182e1f3cee8d 100644 (file)
@@ -84,20 +84,30 @@ class ImageUtil {
         */
        protected SluggerUtil $slugger;
 
-       //Captcha background
-       protected string $captchaBackground;
+       /**
+        * The captcha background
+        */
+       public string $captchaBackground;
 
-       //Captcha fill
-       protected string $captchaFill;
+       /**
+        * The captcha fill
+        */
+       public string $captchaFill;
 
-       //Captcha font size
-       protected int $captchaFontSize;
+       /**
+        * The captcha font size
+        */
+       public int $captchaFontSize;
 
-       //Captcha stroke
-       protected string $captchaStroke;
+       /**
+        * The captcha stroke
+        */
+       public string $captchaStroke;
 
-       //Captcha stroke width
-       protected int $captchaStrokeWidth;
+       /**
+        * The captcha stroke width
+        */
+       public int $captchaStrokeWidth;
 
        /**
         * Creates a new image util
@@ -108,23 +118,23 @@ class ImageUtil {
         * @param string $path The public path
         * @param string $prefix The prefix
         */
-       function __construct(RouterInterface $router, SluggerUtil $slugger, string $cache = '../var/cache', string $path = './bundles/rapsyspack', string $prefix = 'image', $captchaBackground = self::captchaBackground, $captchaFill = self::captchaFill, $captchaFontSize = self::captchaFontSize, $captchaStroke = self::captchaStroke, $captchaStrokeWidth = self::captchaStrokeWidth) {
+       function __construct(RouterInterface $router, SluggerUtil $slugger, string $cache = '../var/cache', string $path = './bundles/rapsyspack', string $prefix = 'image', string $captchaBackground = self::captchaBackground, string $captchaFill = self::captchaFill, int $captchaFontSize = self::captchaFontSize, string $captchaStroke = self::captchaStroke, int $captchaStrokeWidth = self::captchaStrokeWidth) {
                //Set cache
                $this->cache = $cache.'/'.$prefix;
 
-               //set captcha background
+               //Set captcha background
                $this->captchaBackground = $captchaBackground;
 
-               //set captcha fill
+               //Set captcha fill
                $this->captchaFill = $captchaFill;
 
-               //set captcha font size
+               //Set captcha font size
                $this->captchaFontSize = $captchaFontSize;
 
-               //set captcha stroke
+               //Set captcha stroke
                $this->captchaStroke = $captchaStroke;
 
-               //set captcha stroke width
+               //Set captcha stroke width
                $this->captchaStrokeWidth = $captchaStrokeWidth;
 
                //Set path