public function generateStandalone(GeneratorListener $listener)
    {
        $response    = $this->consoleKernel->call('report:analyzer');
        $splFileInfo = new SplFileInfo($this->consoleKernel->output());
        return new JsonResponse(['redirect' => handles('antares::logger/generate/download/' . trim($splFileInfo->getFilename()))], 200);
    }
public function generateStandalone(GeneratorListener $listener)
    {
        $response    = $this->consoleKernel->call('report:analyzer');
        $splFileInfo = new SplFileInfo($this->consoleKernel->output());
        return new JsonResponse(['redirect' => handles('antares::logger/generate/download/' . trim($splFileInfo->getFilename()))], 200);
    }
public function generateStandalone ( GeneratorListener $ listener ) { $ response = $ this -> consoleKernel -> call ( 'report:analyzer' ) ; $ splFileInfo = new SplFileInfo ( $ this -> consoleKernel -> output ( ) ) ; return new JsonResponse ( [ 'redirect' => handles ( 'antares::logger/generate/download/' . trim ( $ splFileInfo -> getFilename ( ) ) ) ] , 200 ) ; }
response when generates standalone system report

@return JsonResponse
response when generates standalone system report