Pelago\Emogrifier\HtmlProcessor
CssToAttributeConverter::getAllNodesWithStyleAttribute() private WC 1.0
Returns a list with all DOM nodes that have a style attribute.
{} It's a method of the class: CssToAttributeConverter{}
No Hooks.
Return
\DOMNodeList.
Usage
// private - for code of main (parent) class only $result = $this->getAllNodesWithStyleAttribute();
Code of CssToAttributeConverter::getAllNodesWithStyleAttribute() CssToAttributeConverter::getAllNodesWithStyleAttribute WC 5.0.0
private function getAllNodesWithStyleAttribute()
{
return $this->xPath->query('//*[@style]');
}