DiffMatchPatch\DiffMatchPatch::patch_fromText PHP Метод

patch_fromText() публичный Метод

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.
Результат PatchObject[] Array of PatchObjects.
    public function patch_fromText($text)
    {
        return $this->patch->fromText($text);
    }