Skip to content

Commit e61e2eb

Browse files
Add missing use statements to data collector example
1 parent 379616a commit e61e2eb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cookbook/profiler/data_collector.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ collects the method and accepted content types from the request::
4040
namespace AppBundle\DataCollector;
4141

4242
use Symfony\Component\HttpKernel\DataCollector\DataCollector;
43+
use Symfony\Component\HttpFoundation\Request;
44+
use Symfony\Component\HttpFoundation\Response;
4345

4446
class RequestCollector extends DataCollector
4547
{

0 commit comments

Comments
 (0)