Newer
Older
framework / tests / _support / HTTP / MockIncomingRequest.php
@Jim Parry Jim Parry on 25 Jul 2019 355 bytes Release 4.0.0-beta.4
<?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...
	}

}