1
0
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:
maximebf
2013-08-14 21:17:55 +10:00
parent d40979d6b0
commit d9a37e9e84

@ -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
*