Skip to content

Commit

Permalink
Merge c0e27bb into 46147c8
Browse files Browse the repository at this point in the history
  • Loading branch information
mzstic committed Oct 28, 2017
2 parents 46147c8 + c0e27bb commit fc8cefa
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Profiler/DataCollector/BlockDataCollector.php
Original file line number Diff line number Diff line change
Expand Up @@ -177,4 +177,15 @@ public function getName()
{
return 'block';
}

/**
* Resets this data collector to its initial state.
*/
public function reset()
{
$this->blocks = [];
$this->containers = [];
$this->realBlocks = [];
$this->events = [];
}
}

0 comments on commit fc8cefa

Please sign in to comment.