Skip to content

Commit

Permalink
Merge pull request #126 from bgaleotti/data-collector
Browse files Browse the repository at this point in the history
Implemented `reset` in data collector
  • Loading branch information
Olivier Dolbeau committed Dec 4, 2017
2 parents b8b367b + 72cca34 commit eb20251
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions DataCollector/SwarrotDataCollector.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,9 @@ public function getName()
{
return 'swarrot';
}

public function reset()
{
$this->data = [];
}
}

0 comments on commit eb20251

Please sign in to comment.