HtmlPruner::removeRedundantClassesAfterCssInlined( PelagoEmogrifierCssInliner $cssInliner )
After CSS has been inlined, there will likely be some classes in class
attributes that are no longer referenced by any remaining (uninlinable) CSS. This method removes such classes.
Description Description
Note that it does not inspect the remaining CSS, but uses information readily available from the CssInliner
instance about the CSS rules that could not be inlined.
Parameters Parameters
- $cssInliner
-
(Required) object instance that performed the CSS inlining
Return Return
(self) fluent interface
Source Source
File: vendor/pelago/emogrifier/src/Emogrifier/HtmlProcessor/HtmlPruner.php