public function displayCachedAssetAction($asset, $requestId) {
        $asset = $this->container->get('mesd.jasper.report.loader')->getReportLoader()->getCachedAsset($asset, $requestId);
        return new Response($asset, 200, array());
    }
public function displayCachedAssetAction($asset, $requestId) {
        $asset = $this->container->get('mesd.jasper.report.loader')->getReportLoader()->getCachedAsset($asset, $requestId);
        return new Response($asset, 200, array());
    }
public function displayCachedAssetAction ( $ asset , $ requestId ) { $ asset = $ this -> container -> get ( 'mesd.jasper.report.loader' ) -> getReportLoader ( ) -> getCachedAsset ( $ asset , $ requestId ) ; return new Response ( $ asset , 200 , array ( ) ) ; }
Renders an asset from a cached report

@param  string $asset     The image path relative to the cache folder (e.g. images/img_0_0_2.png)
@param  string $requestId The request id of the report the asset is attached to

@return Response          The raw asset
Renders an asset from a cached report