Chris@0: Chris@0: * Chris@0: * For the full copyright and license information, please view the LICENSE Chris@0: * file that was distributed with this source code. Chris@0: */ Chris@0: Chris@0: namespace Symfony\Component\HttpKernel\DataCollector; Chris@0: Chris@0: use Symfony\Component\HttpFoundation\Request; Chris@0: use Symfony\Component\HttpFoundation\Response; Chris@0: Chris@0: /** Chris@0: * AjaxDataCollector. Chris@0: * Chris@0: * @author Bart van den Burg Chris@0: */ Chris@0: class AjaxDataCollector extends DataCollector Chris@0: { Chris@0: public function collect(Request $request, Response $response, \Exception $exception = null) Chris@0: { Chris@0: // all collecting is done client side Chris@0: } Chris@0: Chris@14: public function reset() Chris@14: { Chris@14: // all collecting is done client side Chris@14: } Chris@14: Chris@0: public function getName() Chris@0: { Chris@0: return 'ajax'; Chris@0: } Chris@0: }