CodeIgniter Forums
Extending core classess - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forum-28.html)
+--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forum-30.html)
+--- Thread: Extending core classess (/thread-66274.html)



Extending core classess - MarLag - 09-30-2016

Hi,

Just started with CI4 and I have a problem with extending core classes - according to guide I've created
application/Libraries/Exceptions.php file within

PHP Code:
<?php namespace App\Libraries;

class 
Exceptions extends \Codeigniter\Debug\Exceptions
{
 
   public function exceptionHandler(\Throwable $exception)
 
   {
 
       exit('Done.');
 
   }



but seems not executed. Not so experienced with all CI4 internals (and most probably within PHP autoloading) - any hint?