3 * This file is part of sebastian/diff.
5 * (c) Sebastian Bergmann <sebastian@phpunit.de>
7 * For the full copyright and license information, please view the LICENSE
8 * file that was distributed with this source code.
11 namespace SebastianBergmann\Diff\LCS;
14 * Interface for implementations of longest common subsequence calculation.
16 interface LongestCommonSubsequence
19 * Calculates the longest common subsequence of two arrays.
26 public function calculate(array $from, array $to);