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.
29 lines
640 B
PHP
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;
|
|
} |