Welcome Guest, Not a member yet? Register   Sign In
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




Theme © iAndrew 2016 - Forum software by © MyBB