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

#1
Hello folks.

Someone has an idea of how making this work?

app/Libraries/IncomingRequest.php
PHP Code:
<?php
namespace App\Libraries;
use 
CodeIgniter\HTTP\IncomingRequest;

class 
IncomingRequest extends IncomingRequest {

    public function __construct(...Same args as in original...) {
       exit('I DONT SEE THIS');
       parent::__construct(...Same args as in original..);
    }


I'm actually trying to make some changes to method getPost(), but this file doesn't seem to be working at all.
Reply


Messages In This Thread
Extending core class IncomingRequest - by x1250 - 02-12-2020, 06:44 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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