public function process($context)
    {
        $contents = $context->getContents();

        $contents = $this->whitespaceBetweenInlineElements($contents, $context->getPlaceholderContainer());
        $contents = $this->whitespaceInInlineElements($contents, $context->getPlaceholderContainer());
        $contents = $this->replaceElementContents($contents, $context->getPlaceholderContainer());

        return $context->setContents($contents);
    }
public function process($context)
    {
        $contents = $context->getContents();

        $contents = $this->whitespaceBetweenInlineElements($contents, $context->getPlaceholderContainer());
        $contents = $this->whitespaceInInlineElements($contents, $context->getPlaceholderContainer());
        $contents = $this->replaceElementContents($contents, $context->getPlaceholderContainer());

        return $context->setContents($contents);
    }
public function process ( $ context ) { $ contents = $ context -> getContents ( ) ; $ contents = $ this -> whitespaceBetweenInlineElements ( $ contents , $ context -> getPlaceholderContainer ( ) ) ; $ contents = $ this -> whitespaceInInlineElements ( $ contents , $ context -> getPlaceholderContainer ( ) ) ; $ contents = $ this -> replaceElementContents ( $ contents , $ context -> getPlaceholderContainer ( ) ) ; return $ context -> setContents ( $ contents ) ; }
Replace critical content with a temporary placeholder.

@param \ArjanSchouten\HtmlMinifier\MinifyContext $context

@return \ArjanSchouten\HtmlMinifier\MinifyContext
Replace critical content with a temporary placeholder .