Files
ik-codex/src/Analysis/PatternInsightInterface.php
indifferentketchup 66a2fcc5f3 Rename namespace Aternos\Codex to IndifferentKetchup\Codex
Bulk substitution across all PHP files in src/ and test/. Covers
namespace declarations, use statements, fully-qualified class
references, and @package PHPDoc tags. No logic changes.
2026-04-30 15:13:52 +00:00

29 lines
640 B
PHP

<?php
namespace IndifferentKetchup\Codex\Analysis;
/**
* Interface PatternInsightInterface
*
* @package IndifferentKetchup\Codex\Analysis
*/
interface PatternInsightInterface extends InsightInterface
{
/**
* Get an array of possible patterns
*
* The array key of the pattern will be passed to setMatches()
*
* @return string[]
*/
public static function getPatterns(): array;
/**
* Apply the matches from the pattern
*
* @param array $matches
* @param mixed $patternKey
* @return void
*/
public function setMatches(array $matches, mixed $patternKey): void;
}