for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Spatie\Enum\Exceptions;
use Exception;
class UnknownEnumMethod extends Exception
{
public static function new(string $enumClass, string $name): self
return new self("Method {$name} not found on class {$enumClass}");
}