Newer
Older
framework / _support / HTTP / MockIncomingRequest.php
@Jim Parry Jim Parry on 1 Mar 2019 355 bytes Release 4.0.0-beta.1
<?php namespace Tests\Support\HTTP;

use CodeIgniter\HTTP\IncomingRequest;

class MockIncomingRequest extends IncomingRequest
{
	//    public function populateHeaders()
	//    {
	//        // Don't do anything... force the tester to manually set the headers they want.
	//    }

	public function detectURI($protocol, $baseURL)
	{
		// Do nothing...
	}

}