DiffMatchPatch\DiffMatchPatch::patch_fromText PHP Method

patch_fromText() public method

Parse a textual representation of patches and return a list of patch objects.
public patch_fromText ( string $text ) : PatchObject[]
$text string Text representation of patches.
return PatchObject[] Array of PatchObjects.
    public function patch_fromText($text)
    {
        return $this->patch->fromText($text);
    }