Get the current environment to be able to write conditional configuration.
public final function env() : ?string { return $this->env; }