Skip to content

Instantly share code, notes, and snippets.

@mcsee
Last active April 29, 2021 17:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mcsee/65c634a08f4dd86c9827d9f3fcbbbcba to your computer and use it in GitHub Desktop.
Save mcsee/65c634a08f4dd86c9827d9f3fcbbbcba to your computer and use it in GitHub Desktop.
<?
$loggingFunction = function () use ($infoToLog) {
$this->loggedData[] = $infoToLog;
};
new SupervisedLearningAlgorithm($processId, $loggingFunction);
$this->assertEquals([...], $this->loggedData);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment