for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace lucidtaz\minimax\engine;
/**
* Enum class
*/
final class NodeType
{
private $value;
private function __construct()
// Forbid manual construction
}
public static function MIN(): NodeType
$result = new static();
$result->value = 'min';
return $result;
public static function MAX(): NodeType
$result->value = 'max';