concrete/src/File/Image/BitmapFormat.php
public function getDefaultPngCompressionLevel()
    {
        $result = $this->config->get('concrete.misc.default_png_image_compression');
        if ($this->valn->integer($result, 0, 9)) {
            $result = (int) $result;
        } else {
            $result = static::DEFAULT_PNG_COMPRESSIONLEVEL;
        }

        return $result;
    }
public function getDefaultPngCompressionLevel()
    {
        $result = $this->config->get('concrete.misc.default_png_image_compression');
        if ($this->valn->integer($result, 0, 9)) {
            $result = (int) $result;
        } else {
            $result = static::DEFAULT_PNG_COMPRESSIONLEVEL;
        }

        return $result;
    }
public function getDefaultPngCompressionLevel ( ) { $ result = $ this -> config -> get ( 'concrete.misc.default_png_image_compression' ) ; if ( $ this -> valn -> integer ( $ result , 0 , 9 ) ) { $ result = ( int ) $ result ; } else { $ result = static :: DEFAULT_PNG_COMPRESSIONLEVEL ; } return $ result ; }
Get the default PNG compression level.

@return int an integer from 0 to 9
Get the default PNG compression level .