Skip to content

Instantly share code, notes, and snippets.

@mcsee
Last active February 20, 2025 22:33
This gist belongs to Clean Code Cookbook http://cleancodecookbook.com By Maximiliano Contieri http://maximilianocontieri.com
<?
private function getDataToPersist($runTime, $isClustering) {
return [
'processId' => $this->processId,
'date' => new Timestamp(),
'runTime' => $runTime,
'isClustering' => $isClustering
];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment