private function getEscape($value = '$value')
    {
        if ($this->customEscape) {
            return sprintf(self::CUSTOM_ESCAPE, $value);
        }

        return sprintf(self::DEFAULT_ESCAPE, $value, var_export($this->entityFlags, true), var_export($this->charset, true));
    }
private function getEscape($value = '$value')
    {
        if ($this->customEscape) {
            return sprintf(self::CUSTOM_ESCAPE, $value);
        }

        return sprintf(self::DEFAULT_ESCAPE, $value, var_export($this->entityFlags, true), var_export($this->charset, true));
    }
private function getEscape ( $ value = '$value' ) { if ( $ this -> customEscape ) { return sprintf ( self :: CUSTOM_ESCAPE , $ value ) ; } return sprintf ( self :: DEFAULT_ESCAPE , $ value , var_export ( $ this -> entityFlags , true ) , var_export ( $ this -> charset , true ) ) ; }
Get the current escaper.

@param string $value (default: '$value')

@return string Either a custom callback, or an inline call to `htmlspecialchars`
Get the current escaper .