[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/maximebf/debugbar/src/DebugBar/Bridge/ -> NamespacedTwigProfileCollector.php (summary)

(no description)

File Size: 204 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

NamespacedTwigProfileCollector:: (8 methods):
  __construct()
  getWidgets()
  getAssets()
  collect()
  getName()
  getHtmlCallGraph()
  getXdebugLink()
  computeData()


Class: NamespacedTwigProfileCollector  - X-Ref

Collects data about rendered templates

http://twig.sensiolabs.org/

A \Twig\Profiler\Profile should be added to your \Twig\Environment
The root-Twig\Profiler\Profile-object should then be injected into this collector

you can optionally provide the \Twig\Environment or the \Twig\Loader to also create
debug-links.

__construct(Profile $profile, $loaderOrEnv = null)   X-Ref
TwigProfileCollector constructor.

param: Profile $profile
param: LoaderInterface|Environment $loaderOrEnv

getWidgets()   X-Ref
Returns a hash where keys are control names and their values
an array of options as defined in {@see \DebugBar\JavascriptRenderer::addControl()}

return: array

getAssets()   X-Ref

return: array

collect()   X-Ref
Called by the DebugBar when data needs to be collected

return: array Collected data

getName()   X-Ref
Returns the unique name of the collector

return: string

getHtmlCallGraph()   X-Ref
No description

getXdebugLink($template, $line = 1)   X-Ref
Get an Xdebug Link to a file

return: array {

computeData(Profile $profile)   X-Ref
No description



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer