phpbb_ui_test_case::lang PHP Method

lang() protected method

protected lang ( )
    protected function lang()
    {
        $args = func_get_args();
        $key = $args[0];
        if (empty($this->lang[$key])) {
            throw new RuntimeException('Language key "' . $key . '" could not be found.');
        }
        $args[0] = $this->lang[$key];
        return call_user_func_array('sprintf', $args);
    }