Newer
Older
framework / system / Test / Mock / MockServices.php
@Lonnie Ezell Lonnie Ezell on 24 Feb 2020 633 bytes Release 4.0.0
<?php namespace CodeIgniter\Test\Mock;

use \CodeIgniter\Config\BaseService;

class MockServices extends BaseService
{

	public $psr4     = [
		'Tests/Support' => TESTPATH . '_support/',
	];
	public $classmap = [];

	//--------------------------------------------------------------------

	public function __construct()
	{
		// Don't call the parent since we don't want the default mappings.
		// parent::__construct();
	}

	//--------------------------------------------------------------------
	public static function locator(bool $getShared = true)
	{
		return new \CodeIgniter\Autoloader\FileLocator(static::autoloader());
	}

}