protected function minifyAttribute($match)
    {
        if (Str::contains($match[2], $this->prohibitedChars)) {
            return $match[0];
        } elseif (preg_match('/'.Constants::PLACEHOLDER_PATTERN.'/is', $match[2])) {
            return $match[0];
        }

        return '='.$match[2];
    }
protected function minifyAttribute($match)
    {
        if (Str::contains($match[2], $this->prohibitedChars)) {
            return $match[0];
        } elseif (preg_match('/'.Constants::PLACEHOLDER_PATTERN.'/is', $match[2])) {
            return $match[0];
        }

        return '='.$match[2];
    }
protected function minifyAttribute ( $ match ) { if ( Str :: contains ( $ match [ 2 ] , $ this -> prohibitedChars ) ) { return $ match [ 0 ] ; } elseif ( preg_match ( '/' . Constants :: PLACEHOLDER_PATTERN . '/is' , $ match [ 2 ] ) ) { return $ match [ 0 ] ; } return '=' . $ match [ 2 ] ; }
Minify the attribute quotes if allowed.

@param array $match

@return string
Minify the attribute quotes if allowed .