I'm using Magento 1.9.x EE.
I'm looking to overwrite the Mage_Core_Model_Email_Template::send
function.
I could overwrite the core class, but then my changes would be dependent on code that resides outside of the new custom module for my feature and IMO this is bad practice.
I understand Magento 1.x is outdated at this point and doesn't have all the features of Magento 2 but I would like to know if this is possible.
In Magento 2 I could do something like this:
<!-- File: app/etc/di.xml -->
<config>
<preference for="Magento\Core\Model\UrlInterface" type="Magento\Core\Model\Url" />
</config>
Is this feature possibly to duplicate at all in Magento 1.9.x?