Features/am controller namespacing
Implement name spacing support in Zon Core for controller extensions
What I did
- Added namespaces to Zon controllers for Accounts, Contact and Dashboard.
- Implemented ability to load a namespaced class if one exists.
Implications
Existing namespaces front end controllers may not work correctly (though highly unlikely anyone has actually done this).
Setup
Make sure the application core patch has been implemented. See this MR in Zon Template: https://git.customd.com/custom-d/zon/merge_requests/7
How to test
Go to the admin dashboard, contact, accounts pages. Try make an override to one of those controllers and use:
<?php
use Zon\Core\Controllers\Dashboard as Zon_Dashboard;
class Dashboard extends Zon_Dashboard {}
Implemented to facilitate better overrides for this: Task: https://preview.gotasman.com/task/detail/41818