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



Theme © iAndrew 2016 - Forum software by © MyBB