Chris@0: Chris@0: * Chris@0: * For the full copyright and license information, please view the LICENSE Chris@0: * file that was distributed with this source code. Chris@0: */ Chris@0: Chris@0: namespace SebastianBergmann\Diff\LCS; Chris@0: Chris@0: /** Chris@0: * Interface for implementations of longest common subsequence calculation. Chris@0: */ Chris@0: interface LongestCommonSubsequence Chris@0: { Chris@0: /** Chris@0: * Calculates the longest common subsequence of two arrays. Chris@0: * Chris@0: * @param array $from Chris@0: * @param array $to Chris@0: * Chris@0: * @return array Chris@0: */ Chris@0: public function calculate(array $from, array $to); Chris@0: }