This method will search recursive for all child nodes that are an
instance of the given $targetType. The returned value will be
an empty array if no child exists for that.
public findChildrenOfType ( string $targetType, array &$results = [] ) : PDepend\Source\AST\ASTNode[] | ||
$targetType | string | Searched class or interface type. |
$results | array | |
Résultat | PDepend\Source\AST\ASTNode[] |