FAQ
Examples
Constants
HtmlDocument
HtmlNode
Debug
hasClass ( string $class ) : bool
class
Returns true if the current node has the specified class name.
$node->hasClass('article');