add ext-form

This commit is contained in:
2026-11-22 16:09:43 +01:00
parent ef4be66673
commit 932c7d21fe
25 changed files with 2681 additions and 0 deletions
@@ -0,0 +1,22 @@
<?php
namespace Plugi\Extensions\Form\Finishers;
class FinishersRepository {
private $config;
public function __construct()
{
$this->config = require __DIR__ . '/config.php';
}
public function getFinisherConfig (string $key) : array|null
{
return $this->config['finishers'][$key] ?? null;
}
public function finisherExists (string $key) : bool
{
return array_key_exists($key, $this->config['finishers']);
}
}