DynamicDnsRequestFactory
class DynamicDnsRequestFactory (View source)
Builds the dyndns2 request value object and the update service that handles it.
Reading $_SERVER and the Symfony request lives here so the value object stays a plain, dependency-free carrier of already-resolved values.
Methods
static DynamicDnsUpdateService
createUpdateService(PDO $db, ConfigurationInterface $config, DynamicDnsRepositoryInterface $repository, PermissionService $permissions, AuditService $auditService, ZoneCacheFlusherInterface|null $zoneCacheFlusher = null)
Wires the update service from the live database connection and configuration.
static DynamicDnsRequest
Details
static DynamicDnsUpdateService
createUpdateService(PDO $db, ConfigurationInterface $config, DynamicDnsRepositoryInterface $repository, PermissionService $permissions, AuditService $auditService, ZoneCacheFlusherInterface|null $zoneCacheFlusher = null)
Wires the update service from the live database connection and configuration.
static DynamicDnsRequest
fromHttpRequest(Request $request, ConfigurationInterface $config)
No description