abstract class Email_Driver extends \Email\Email_Driver
ErrorException [ Error ]: Class 'Email\Email_Driver' not found
Autoloader::add_classes(array( // Add classes you want to override here 'Email_Driver' => APPPATH.'classes/email.php', ));
<?php \Package::load('email'); // This is the important bit which I was missing Autoloader::add_core_namespace('Mymodule', true); Autoloader::add_classes(array( 'Mymodule\\Email_Driver' => __DIR__.'/classes/driver.php', )); /* End of file bootstrap.php */
<?php namespace Ben; abstract class Email_Driver extends \Email\Email_Driver { public static function _init() { \Debug::dump("it's alive!"); } } /* End of file driver.php */
It looks like you're new here. If you want to get involved, click one of these buttons!