feat: implement global autoresponder plugin

This commit is contained in:
Marek Miklewicz
2026-06-02 19:19:00 +02:00
commit 6f989af278
62 changed files with 2018 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
<?php
declare(strict_types=1);
final class LocalizedException extends RuntimeException
{
/** @param array<string,string|int|float> $vars */
public function __construct(private string $key, private array $vars = [])
{
parent::__construct($key);
}
public function key(): string
{
return $this->key;
}
/** @return array<string,string|int|float> */
public function vars(): array
{
return $this->vars;
}
}