src/Patch.php
public function toText($patches)
    {
        $text = '';
        foreach ($patches as $patch) {
            $text .= (string)$patch;
        }

        return $text;
    }
public function toText($patches)
    {
        $text = '';
        foreach ($patches as $patch) {
            $text .= (string)$patch;
        }

        return $text;
    }
Take a list of patches and return a textual representation.

@param PatchObject[] $patches Array of PatchObjects.

@return string Text representation of patches.