diff --git a/cookbook/profiler/data_collector.rst b/cookbook/profiler/data_collector.rst index 845aeebe40d..d931a277959 100644 --- a/cookbook/profiler/data_collector.rst +++ b/cookbook/profiler/data_collector.rst @@ -40,6 +40,8 @@ collects the method and accepted content types from the request:: namespace AppBundle\DataCollector; use Symfony\Component\HttpKernel\DataCollector\DataCollector; + use Symfony\Component\HttpFoundation\Request; + use Symfony\Component\HttpFoundation\Response; class RequestCollector extends DataCollector {