@@ -34,17 +34,17 @@ The ``profiler`` service also provides the
3434look for tokens based on some criteria::
3535
3636 // get the latest 10 tokens
37- $tokens = $container->get('profiler')->find('', '', 10, '', '');
37+ $tokens = $container->get('profiler')->find('', '', 10, '', '', '' );
3838
3939 // get the latest 10 tokens for all URL containing /admin/
40- $tokens = $container->get('profiler')->find('', '/admin/', 10, '', '');
40+ $tokens = $container->get('profiler')->find('', '/admin/', 10, '', '', '' );
4141
42- // get the latest 10 tokens for local requests
43- $tokens = $container->get('profiler')->find('127.0.0.1', '', 10, '', '');
42+ // get the latest 10 tokens for local POST requests
43+ $tokens = $container->get('profiler')->find('127.0.0.1', '', 10, 'POST', ' ', '');
4444
4545 // get the latest 10 tokens for requests that happened between 2 and 4 days ago
4646 $tokens = $container->get('profiler')
47- ->find('', '', 10, '4 days ago', '2 days ago');
47+ ->find('', '', 10, '', ' 4 days ago', '2 days ago');
4848
4949Lastly, if you want to manipulate profiling data on a different machine than the
5050one where the information was generated, use the ``profiler:export `` and
0 commit comments