Skip to content

Commit c66ee9f

Browse files
committed
Remove horizontal scrollbar
| Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | 2.3 | Fixed tickets |
1 parent 8bd694f commit c66ee9f

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

book/internals.rst

+11-5
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,8 @@ method to access tokens based on some criteria::
532532
$tokens = $container->get('profiler')->find('127.0.0.1', '', 10, '', '');
533533

534534
// 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');
536537

537538
If you want to manipulate profiling data on a different machine than the one
538539
where the information were generated, use the
@@ -576,9 +577,12 @@ the configuration for the development environment:
576577
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
577578
xmlns:webprofiler="http://symfony.com/schema/dic/webprofiler"
578579
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">
582586
583587
<!-- load the profiler -->
584588
<framework:config>
@@ -638,7 +642,9 @@ If you enable the web profiler, you also need to mount the profiler routes:
638642
639643
use Symfony\Component\Routing\RouteCollection;
640644
641-
$profiler = $loader->import('@WebProfilerBundle/Resources/config/routing/profiler.xml');
645+
$profiler = $loader->import(
646+
'@WebProfilerBundle/Resources/config/routing/profiler.xml'
647+
);
642648
$profiler->addPrefix('/_profiler');
643649
644650
$collection = new RouteCollection();

0 commit comments

Comments
 (0)