process()
process(\DOMDocument $xml) : \DOMDocument
Find all return tags that contain 'self' or '$this' and replace those terms for the name of the current class' type.
Parameters
\DOMDocument | $xml | Structure source to apply behaviour onto. |