RecordEditService
class RecordEditService (View source)
The single-record edit flow shared by the edit-record page and the API PUT: name and content are stored as punycode with the zone suffix, the write goes through the record manager, an SOA edit is bumped by the same rule, the PTR follows when asked, the edit is audited and the record comment is stored or carried along with a rename.
Methods
__construct(RecordManagerInterface $recordManager, RecordLookupInterface&RecordListingInterface $records, DomainRepositoryInterface $domains, SOARecordManagerInterface $soa, ReverseRecordCreator $reverseRecords, RecordCommentService $comments, RecordCommentSyncService $commentSync, AuditLoggerInterface $audit, ConfigurationInterface $config, LoggerInterface $logger, ChangeApprovalContext $approval, ZoneCacheFlusherInterface|null $zoneCacheFlusher = null)
No description
Details
__construct(RecordManagerInterface $recordManager, RecordLookupInterface&RecordListingInterface $records, DomainRepositoryInterface $domains, SOARecordManagerInterface $soa, ReverseRecordCreator $reverseRecords, RecordCommentService $comments, RecordCommentSyncService $commentSync, AuditLoggerInterface $audit, ConfigurationInterface $config, LoggerInterface $logger, ChangeApprovalContext $approval, ZoneCacheFlusherInterface|null $zoneCacheFlusher = null)
No description
RecordEditResult
edit(RecordEditRequest $request)
No description