Skip to content

Commit

Permalink
Merge pull request #13 from SimLibaud/webprofiler-add-reset-method
Browse files Browse the repository at this point in the history
[WebProfiler] Add 'reset' method
  • Loading branch information
SimLibaud authored May 17, 2018
2 parents 25f24e1 + 647ff77 commit 83a515b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions Tests/WebProfiler/RouteSecurityToolsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,6 @@ public function testCollect()
$this->assertTrue($routeSecurityTools->isRouteSecure());
$this->assertEquals('ROLE_FOO', $routeSecurityTools->getRoleForRoute());
$this->assertEquals('sil_route_security.route_security_tools', $routeSecurityTools->getName());
$this->assertNull($routeSecurityTools->reset());
}
}
4 changes: 4 additions & 0 deletions WebProfiler/RouteSecurityTools.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,8 @@ public function getName()
{
return 'sil_route_security.route_security_tools';
}

public function reset()
{
}
}

0 comments on commit 83a515b

Please sign in to comment.