This is probably the biggest oversight in my design and needs refactoring. Quite a hefty unit of work though: - [ ] Create a MediationEntityOffer object - [ ] Move the necessary methods from DBMediation.php to DBGet - [ ] Remove DBMediation.php - [ ] Correct the necessary methods in DBCreate/DBUpdate - [ ] Remove MediationState.php. Handle its specific logic elsewhere; perhaps make it a subclass of the DisputeState like all the other states.
This is probably the biggest oversight in my design and needs refactoring. Quite a hefty unit of work though: