Files
ik-codex/src/Analysis/ProblemInterface.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

38 lines
813 B
PHP

<?php
namespace IndifferentKetchup\Codex\Analysis;
use ArrayAccess;
use Countable;
use Iterator;
/**
* Interface ProblemInterface
*
* @package IndifferentKetchup\Codex\Analysis
*/
interface ProblemInterface extends Iterator, Countable, ArrayAccess, InsightInterface
{
/**
* Set all solutions at once in an array replacing the current solutions
*
* @param SolutionInterface[] $solutions
* @return $this
*/
public function setSolutions(array $solutions = []): static;
/**
* Add a solution
*
* @param SolutionInterface $solution
* @return $this
*/
public function addSolution(SolutionInterface $solution): static;
/**
* Get all solutions
*
* @return SolutionInterface[]
*/
public function getSolutions(): array;
}