helperFunctions.php
Contains helper functions needed for the unit tests
Table of Contents
- resetLog() : mixed
- Resets log for next test
- getLog() : mixed
- gets the log contents
- parseLog() : array<string|int, mixed>
- gets log and returns messages in an array
Functions
resetLog()
Resets log for next test
resetLog() : mixed
Return values
mixed —getLog()
gets the log contents
getLog() : mixed
Return values
mixed —parseLog()
gets log and returns messages in an array
parseLog([string $s = null ]) : array<string|int, mixed>
Parameters
- $s : string = null
-
pre-fetched log contents
Return values
array<string|int, mixed> —list of message strings