Add custom directives to the wp-config file via class.
This doesn't feel like the right way to do this.
A better way is to include env files, committed per installation, and
deployed from repo to each server.