mirror of
https://github.com/maximebf/php-debugbar.git
synced 2025-06-17 06:52:26 +02:00
added getControls() and getIgnoredCollectors() in JavascriptRenderer
This commit is contained in:
@ -296,6 +296,18 @@ class JavascriptRenderer
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the list of controls
|
||||
*
|
||||
* This does not include controls provided by collectors
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function getControls()
|
||||
{
|
||||
return $this->controls;
|
||||
}
|
||||
|
||||
/**
|
||||
* Ignores widgets provided by a collector
|
||||
*
|
||||
@ -307,6 +319,16 @@ class JavascriptRenderer
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the list of ignored collectors
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function getIgnoredCollectors()
|
||||
{
|
||||
return $this->ignoredCollectors;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns needed asset files relative to the base path
|
||||
*
|
||||
|
Reference in New Issue
Block a user