public function process(MinifyContext $context)
    {
        $context->setContents($this->trailingWhitespaces($context->getContents()));
        $context->setContents($this->runMinificationRules($context->getContents()));
        $context->setContents($this->removeSpacesAroundPlaceholders($context->getContents()));

        return $context->setContents($this->maxHtmlLineLength($context->getContents(), $this->maxHtmlLineLength));
    }
public function process(MinifyContext $context)
    {
        $context->setContents($this->trailingWhitespaces($context->getContents()));
        $context->setContents($this->runMinificationRules($context->getContents()));
        $context->setContents($this->removeSpacesAroundPlaceholders($context->getContents()));

        return $context->setContents($this->maxHtmlLineLength($context->getContents(), $this->maxHtmlLineLength));
    }
public function process ( MinifyContext $ context ) { $ context -> setContents ( $ this -> trailingWhitespaces ( $ context -> getContents ( ) ) ) ; $ context -> setContents ( $ this -> runMinificationRules ( $ context -> getContents ( ) ) ) ; $ context -> setContents ( $ this -> removeSpacesAroundPlaceholders ( $ context -> getContents ( ) ) ) ; return $ context -> setContents ( $ this -> maxHtmlLineLength ( $ context -> getContents ( ) , $ this -> maxHtmlLineLength ) ) ; }
Minify redundant whitespaces.

@param \ArjanSchouten\HtmlMinifier\MinifyContext $context

@return \ArjanSchouten\HtmlMinifier\MinifyContext
Minify redundant whitespaces .