Initial import from aternosorg/codex-minecraft
Some checks failed
Tests / Run tests on PHP v8.4 (push) Failing after 32s
Tests / Run tests on PHP v8.5 (push) Failing after 2s

This commit is contained in:
2026-04-30 09:56:57 -05:00
commit 7c7fe5ca80
94 changed files with 7003 additions and 0 deletions

29
src/Analysis/Solution.php Normal file
View File

@@ -0,0 +1,29 @@
<?php
namespace Aternos\Codex\Analysis;
/**
* Class Solution
*
* @package Aternos\Codex\Analysis
*/
abstract class Solution implements SolutionInterface
{
/**
* @return string
*/
public function __toString(): string
{
return $this->getMessage();
}
/**
* @return array
*/
public function jsonSerialize(): array
{
return [
'message' => $this->getMessage()
];
}
}