, and is used/adapted with his permission. * * Copyright 2004 Geoffrey T. Dairiki * Copyright 2004-2017 Horde LLC (http://www.horde.org/) * * See the enclosed file COPYING for license information (LGPL). If you did * not receive this file, see http://www.horde.org/licenses/lgpl21. * * @package Text_Diff * @author Geoffrey T. Dairiki */ abstract class Horde_Text_Diff_Op_Base { public $orig; public $final; abstract public function reverse(); public function norig() { return $this->orig ? count($this->orig) : 0; } public function nfinal() { return $this->final ? count($this->final) : 0; } }