Source: tests/unit/SearchControllerTest.php · 374 lines, ~2069 statements · namespace: (global) · `declare(strict_types=1)`: no
| Alias | Fully-qualified name |
|---|---|
TestCase | PHPUnit\Framework\TestCase |
| Function | Line | Params | Returns | Summary |
|---|---|---|---|---|
t | 4 | 2 | string |
Declared inside a guard (the project uses `if (!function_exists(…))` around global functions), so the declaration is conditional at load time.
public function t(string $key, array $params = []): string
| Parameter | Type | Default | Description |
|---|---|---|---|
$key | string | required | |
$params | array | [] |