eZ\Bundle\EzPublishDebugBundle\Collector\SiteAccessCollector::collect PHP Method

collect() public method

public collect ( Request $request, Response $response, Exception $exception = null )
$request Symfony\Component\HttpFoundation\Request
$response Symfony\Component\HttpFoundation\Response
$exception Exception
    public function collect(Request $request, Response $response, \Exception $exception = null)
    {
        $this->data = ['siteAccess' => $request->attributes->get('siteaccess')];
    }