@@ -532,7 +532,8 @@ method to access tokens based on some criteria::
532
532
$tokens = $container->get('profiler')->find('127.0.0.1', '', 10, '', '');
533
533
534
534
// get the latest 10 tokens for requests that happened between 2 and 4 days ago
535
- $tokens = $container->get('profiler')->find('', '', 10, '4 days ago', '2 days ago');
535
+ $tokens = $container->get('profiler')
536
+ ->find('', '', 10, '4 days ago', '2 days ago');
536
537
537
538
If you want to manipulate profiling data on a different machine than the one
538
539
where the information were generated, use the
@@ -576,9 +577,12 @@ the configuration for the development environment:
576
577
xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
577
578
xmlns : webprofiler =" http://symfony.com/schema/dic/webprofiler"
578
579
xmlns : framework =" http://symfony.com/schema/dic/symfony"
579
- xsi : schemaLocation =" http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd
580
- http://symfony.com/schema/dic/webprofiler http://symfony.com/schema/dic/webprofiler/webprofiler-1.0.xsd
581
- http://symfony.com/schema/dic/symfony http://symfony.com/schema/dic/symfony/symfony-1.0.xsd" >
580
+ xsi : schemaLocation =" http://symfony.com/schema/dic/services
581
+ http://symfony.com/schema/dic/services/services-1.0.xsd
582
+ http://symfony.com/schema/dic/webprofiler
583
+ http://symfony.com/schema/dic/webprofiler/webprofiler-1.0.xsd
584
+ http://symfony.com/schema/dic/symfony
585
+ http://symfony.com/schema/dic/symfony/symfony-1.0.xsd" >
582
586
583
587
<!-- load the profiler -->
584
588
<framework : config >
@@ -638,7 +642,9 @@ If you enable the web profiler, you also need to mount the profiler routes:
638
642
639
643
use Symfony\Component\Routing\RouteCollection;
640
644
641
- $profiler = $loader->import('@WebProfilerBundle/Resources/config/routing/profiler.xml');
645
+ $profiler = $loader->import(
646
+ '@WebProfilerBundle/Resources/config/routing/profiler.xml'
647
+ );
642
648
$profiler->addPrefix('/_profiler');
643
649
644
650
$collection = new RouteCollection();
0 commit comments