DataSift\Storyplayer\Reports\TapReport::writeOkay PHP Method

writeOkay() protected method

protected writeOkay ( resource $fp, integer $storyCounter, Story_Result $storyResult, string $reason ) : void
$fp resource
$storyCounter integer
$storyResult DataSift\Storyplayer\PlayerLib\Story_Result
$reason string
return void
    protected function writeOkay($fp, $storyCounter, Story_Result $storyResult, $reason)
    {
        fwrite($fp, 'ok ' . $storyCounter . ' - ' . $reason . ': ' . $storyResult->story->getName() . PHP_EOL);
    }