name: ProfilerController class_comment: '# * @author Fabien Potencier # * # * @internal' dependencies: - name: FullStack type: class source: Symfony\Bundle\FullStack - name: ContentSecurityPolicyHandler type: class source: Symfony\Bundle\WebProfilerBundle\Csp\ContentSecurityPolicyHandler - name: TemplateManager type: class source: Symfony\Bundle\WebProfilerBundle\Profiler\TemplateManager - name: BinaryFileResponse type: class source: Symfony\Component\HttpFoundation\BinaryFileResponse - name: RedirectResponse type: class source: Symfony\Component\HttpFoundation\RedirectResponse - name: Request type: class source: Symfony\Component\HttpFoundation\Request - name: Response type: class source: Symfony\Component\HttpFoundation\Response - name: AutoExpireFlashBag type: class source: Symfony\Component\HttpFoundation\Session\Flash\AutoExpireFlashBag - name: DumpDataCollector type: class source: Symfony\Component\HttpKernel\DataCollector\DumpDataCollector - name: ExceptionDataCollector type: class source: Symfony\Component\HttpKernel\DataCollector\ExceptionDataCollector - name: NotFoundHttpException type: class source: Symfony\Component\HttpKernel\Exception\NotFoundHttpException - name: Profiler type: class source: Symfony\Component\HttpKernel\Profiler\Profiler - name: UrlGeneratorInterface type: class source: Symfony\Component\Routing\Generator\UrlGeneratorInterface - name: Environment type: class source: Twig\Environment properties: [] methods: - name: homeAction visibility: public parameters: [] comment: "# * @author Fabien Potencier \n# *\n# * @internal\n\ # */\n# class ProfilerController\n# {\n# private TemplateManager $templateManager;\n\ # \n# public function __construct(\n# private UrlGeneratorInterface $generator,\n\ # private ?Profiler $profiler,\n# private Environment $twig,\n# private array\ \ $templates,\n# private ?ContentSecurityPolicyHandler $cspHandler = null,\n#\ \ private ?string $baseDir = null,\n# ) {\n# }\n# \n# /**\n# * Redirects to the\ \ last profiles.\n# *\n# * @throws NotFoundHttpException" - name: panelAction visibility: public parameters: - name: request - name: token comment: '# * Renders a profiler panel for the given token. # * # * @throws NotFoundHttpException' - name: toolbarAction visibility: public parameters: - name: request - name: token default: 'null' comment: '# * Renders the Web Debug Toolbar. # * # * @throws NotFoundHttpException' - name: searchBarAction visibility: public parameters: - name: request comment: '# * Renders the profiler search bar. # * # * @throws NotFoundHttpException' - name: searchResultsAction visibility: public parameters: - name: request - name: token comment: '# * Renders the search results. # * # * @throws NotFoundHttpException' - name: searchAction visibility: public parameters: - name: request comment: '# * Narrows the search bar. # * # * @throws NotFoundHttpException' - name: phpinfoAction visibility: public parameters: [] comment: '# * Displays the PHP info. # * # * @throws NotFoundHttpException' - name: xdebugAction visibility: public parameters: [] comment: '# * Displays the Xdebug info. # * # * @throws NotFoundHttpException' - name: fontAction visibility: public parameters: - name: fontName comment: '# * Returns the custom web fonts used in the profiler. # * # * @throws NotFoundHttpException' - name: openAction visibility: public parameters: - name: request comment: '# * Displays the source of a file. # * # * @throws NotFoundHttpException' - name: getTemplateManager visibility: protected parameters: [] comment: null - name: denyAccessIfProfilerDisabled visibility: private parameters: [] comment: null - name: renderWithCspNonces visibility: private parameters: - name: request - name: template - name: variables - name: code default: '200' - name: headers default: '[''Content-Type''' comment: null traits: - Symfony\Bundle\FullStack - Symfony\Bundle\WebProfilerBundle\Csp\ContentSecurityPolicyHandler - Symfony\Bundle\WebProfilerBundle\Profiler\TemplateManager - Symfony\Component\HttpFoundation\BinaryFileResponse - Symfony\Component\HttpFoundation\RedirectResponse - Symfony\Component\HttpFoundation\Request - Symfony\Component\HttpFoundation\Response - Symfony\Component\HttpFoundation\Session\Flash\AutoExpireFlashBag - Symfony\Component\HttpKernel\DataCollector\DumpDataCollector - Symfony\Component\HttpKernel\DataCollector\ExceptionDataCollector - Symfony\Component\HttpKernel\Exception\NotFoundHttpException - Symfony\Component\HttpKernel\Profiler\Profiler - Symfony\Component\Routing\Generator\UrlGeneratorInterface - Twig\Environment interfaces: []