Documentation

whitespacesRemover
in package
implements minfyInterface

Interfaces, Classes, Traits and Enums

minfyInterface

Table of Contents

BLOCK_ELEMENTS  = ['address', 'article', 'aside', 'audio', 'blockquote', 'body', 'canvas', 'caption', 'colgroup', 'datalist', 'details', 'div', 'dl', 'dt', 'embed', 'fieldset', 'figcaption', 'figure', 'footer', 'form', 'h[1-6]', 'head', 'header', 'hr', 'html', 'li', 'link', 'main', 'map', 'meta', 'meter', 'nav', 'noframes', 'noscript', 'object', 'ol', 'optgroup', 'option', 'p', 'param', 'pre', 'progress', 'ruby', 'script', 'section', 'select', 'source', 'style', 'summary', 'table', 'tbody', 'td', 'tfoot', 'th', 'thead', 'title', 'tr', 'track', 'ul', 'video']
process()  : string

Constants

BLOCK_ELEMENTS

private mixed BLOCK_ELEMENTS = ['address', 'article', 'aside', 'audio', 'blockquote', 'body', 'canvas', 'caption', 'colgroup', 'datalist', 'details', 'div', 'dl', 'dt', 'embed', 'fieldset', 'figcaption', 'figure', 'footer', 'form', 'h[1-6]', 'head', 'header', 'hr', 'html', 'li', 'link', 'main', 'map', 'meta', 'meter', 'nav', 'noframes', 'noscript', 'object', 'ol', 'optgroup', 'option', 'p', 'param', 'pre', 'progress', 'ruby', 'script', 'section', 'select', 'source', 'style', 'summary', 'table', 'tbody', 'td', 'tfoot', 'th', 'thead', 'title', 'tr', 'track', 'ul', 'video']

Methods

process()

public process(string $buffer) : string
Parameters
$buffer : string
Return values
string

Search results