Core/tests/mocks/core/utf8.php

21 lines
273 B
PHP
Raw Normal View History

<?php
use FuzeWorks\Utf8;
class Mock_Core_Utf8 extends Utf8 {
/**
* We need to define UTF8_ENABLED the same way that
* CI_Utf8 constructor does.
*/
public function __construct()
{
if (defined('UTF8_ENABLED'))
{
return;
}
parent::__construct();
}
}