<?php
 namespace App\Core\Ssl; class SslManager { protected array $modules = []; public function register(string $name, AbstractSsl $module): void { $this->modules[$name] = $module; } public function get(string $name): AbstractSsl { if (! isset($this->modules[$name])) { throw new \Exception("SSL modülü bulunamadı: {$name}"); } return $this->modules[$name]; } public function getAll(): array { return $this->modules; } public function has(string $name): bool { return isset($this->modules[$name]); } } 