Newer
Older
framework / tests / _support / Language / SecondMockLanguage.php
@Jim Parry Jim Parry on 25 Jul 2019 594 bytes Release 4.0.0-beta.4
<?php namespace Tests\Support\Language;

use CodeIgniter\Language\Language;

class SecondMockLanguage extends Language
{
	//--------------------------------------------------------------------

	/**
	 * Expose the protected *load* method
	 */
	public function loadem(string $file, string $locale = 'en', bool $return = false)
	{
		return $this->load($file, $locale, $return);
	}

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

	/**
	 * Expose the loaded language files
	 */
	public function loaded(string $locale = 'en')
	{
		return $this->loadedFiles[$locale];
	}

}