diff --git a/src/Registry/AbstractElementRegistry.php b/src/Registry/ElementRegistry.php similarity index 98% rename from src/Registry/AbstractElementRegistry.php rename to src/Registry/ElementRegistry.php index 60586b5..6d3085d 100644 --- a/src/Registry/AbstractElementRegistry.php +++ b/src/Registry/ElementRegistry.php @@ -14,15 +14,15 @@ use function dirname; use function implode; -abstract class AbstractElementRegistry +class ElementRegistry { /** @var \SimpleSAML\XML\Registry\AbstractElementRegistry|null $instance */ protected static ?AbstractElementRegistry $instance = null; - /** @var array */ protected array $registry = []; + final private function __construct() { // Initialize the registry with all the elements we know