[HttpKernel] added a way to enable a disable Profiler
This commit is contained in:
parent
8c2f35f2ce
commit
67b91e562b
@ -51,6 +51,14 @@ class Profiler
|
||||
$this->enabled = false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Enables the profiler.
|
||||
*/
|
||||
public function enable()
|
||||
{
|
||||
$this->enabled = true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Loads the Profile for the given Response.
|
||||
*
|
||||
|
Reference in New Issue
Block a user