_e() публичный метод

Echo the translated string.
public _e ( string $str, string | array $params = null ) : void
$str string
$params string | array
Результат void
Пример #1
0
 public function testE()
 {
     $l = new I18n();
     ob_start();
     $l->_e('This field is required.');
     $output = ob_get_clean();
     $this->assertEquals('Ce champ est obligatoire.', $output);
 }