TwigDataCollector::getName()

string getName() Returns the name of the collector. Return Value string The collector name

TwigDataCollector::getHtmlCallGraph()

getHtmlCallGraph()

TwigDataCollector::getTemplates()

getTemplates()

TwigDataCollector::getTemplateCount()

getTemplateCount()

TwigDataCollector::getBlockCount()

getBlockCount()

TwigDataCollector::getMacroCount()

getMacroCount()

TwigDataCollector::getProfile()

getProfile()

TwigDataCollector::collect()

collect(Request $request, Response $response, Exception $exception = null) Collects data for the given Request and Response. Parameters Request $request A Request instance Response $response A Response instance Exception $exception An Exception instance

TwigDataCollector

class TwigDataCollector extends DataCollector implements LateDataCollectorInterface TwigDataCollector. Methods serialize() from DataCollector unserialize($data) from DataCollector __construct(Twig_Profiler_Profile $profile) collect(Request $request, Response $response, Exception $exception = null) Collects data for the given Request and Response. lateCollect() Collects data as late as possible. getTime() getTemplateCount() getTemplates() getBlo

TwigBundle

class TwigBundle extends Bundle Bundle. Methods setContainer(ContainerInterface $container = null) Sets the Container associated with this Controller. from ContainerAware boot() Boots the Bundle. from Bundle shutdown() Shutdowns the Bundle. from Bundle build(ContainerBuilder $container) Builds the bundle. ExtensionInterface|null getContainerExtension() Returns the bundle's container extension. from Bundle string getNamespace() Gets the Bundle namespace. from Bundle