Scriptlog Docs

Scriptlog Documentation

Code reference for the Scriptlog codebase

User Tools

Site Tools


scriptlog:tests:searchcontrollertest

This is an old revision of the document!


tests/unit/SearchControllerTest.php

Source: tests/unit/SearchControllerTest.php · 374 lines, ~2069 statements · namespace: (global) · `declare(strict_types=1)`: no


Imports

^ Alias ^ Fully-qualified name ^
| ''TestCase'' | ''PHPUnit\Framework\TestCase'' |

Functions (1)

^ Function ^ Line ^ Params ^ Returns ^ Summary ^
| ''t'' | 4 | 2 | ''string'' |  |

t()

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'' | ''[]'' |  |

Types declared here


Generated by 'tools/gendoc'.

scriptlog/tests/searchcontrollertest.1790413766.txt.gz · Last modified: by admin