Method common to dashboard and frontend controller
Permalink
Hi,
Is there a recommended way to create objects / methods to be used both on frontend and backend?
Is there a recommended way to create objects / methods to be used both on frontend and backend?
/MyPackage/src/Myclass.php
To use it just include it in your controller: