$earmark = new Earmark(null, null, null, 20000, null); // Start with 20000
Running $earmark->get() returns ECHO00020000 instead of 20000 as I have set it in the config to prefix with ECHO with a padding of 8. Is there a better way to handle this? As the extension is an integer value in the database it will not accept it.
This is caused by the construct() prioritizing values from the config when null are passed to the method().