original_string: public function json($response, $status = 200)
      {
          $this->closeTransaction($status);
          return $this->_json($response, $status);
      }
code: public function json($response, $status = 200)
      {
          $this->closeTransaction($status);
          return $this->_json($response, $status);
      }
code_tokens: public function json ( $ response , $ status = 200 ) { $ this -> closeTransaction ( $ status ) ; return $ this -> _json ( $ response , $ status ) ; }
docstring: Wrapper for json parent method with close transactions and close connections tasks
  
  @param \PSFS\base\dto\JsonResponse $response
  @param int $status
  
  @return mixed
docstring_tokens: Wrapper for json parent method with close transactions and close connections tasks