• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Extending core classess

#1
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?
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.