application
|-Payment
| | +--Item
| | +---Footer.php
| +--Manager.php
|-Boostrap.php
In application/Boostrap.php I want to init Payment module like this:
protected function _initPaymentManager()
{
$manager = Payment_Manager::getInstance();
$manager->registerHandler(new Payment_Item_Footer());
}
But the framework have not loaded Payment module yet. How can I call classes in Payment module in application/Bootstrap.php?