Skip to content

Commit

Permalink
implement reset method to data collector
Browse files Browse the repository at this point in the history
  • Loading branch information
solverat committed Feb 1, 2018
1 parent 855df2e commit c442426
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/I18nBundle/DataCollector/I18nDataCollector.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,14 @@ public function getName()
return 'i18n.data_collector';
}

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

/**
* @return string|null
*/
Expand Down

0 comments on commit c442426

Please sign in to comment.