src/Controller/CommandController.php
public function execAction(Request $request)
    {
        ignore_user_abort(true);
        set_time_limit(0);

        $this->get('anime_db.command')->execute($request->get('command'), 0);

        return new Response();
    }
public function execAction(Request $request)
    {
        ignore_user_abort(true);
        set_time_limit(0);

        $this->get('anime_db.command')->execute($request->get('command'), 0);

        return new Response();
    }
public function execAction ( Request $ request ) { ignore_user_abort ( true ) ; set_time_limit ( 0 ) ; $ this -> get ( 'anime_db.command' ) -> execute ( $ request -> get ( 'command' ) , 0 ) ; return new Response ( ) ; }
Execute command in background.

@param Request $request

@return Response
Execute command in background .