class
League
/
CommonMark
/
Node
/
StringContainerHelper
You are viewing an older version of the documentation. For the latest, please visit 2.4 documentation.
final
StringContainerHelper
Methods
public
static
getChildText ( Node $node , array $excludeTypes ) : string
Extract text literals from all descendant nodes
Parameters
-
$node
Node
Parent node
-
$excludeTypes
string[]
Optional list of node class types to exclude
private
static
isOneOf ( object $object , array $classesOrInterfacesToCheck ) : void
Parameters
- $classesOrInterfacesToCheck string[]