public function json($response, $status = 200)
    {
        $this->closeTransaction($status);
        return $this->_json($response, $status);
    }
public function json($response, $status = 200)
    {
        $this->closeTransaction($status);
        return $this->_json($response, $status);
    }
public function json ( $ response , $ status = 200 ) { $ this -> closeTransaction ( $ status ) ; return $ this -> _json ( $ response , $ status ) ; }
Wrapper for json parent method with close transactions and close connections tasks

@param \PSFS\base\dto\JsonResponse $response
@param int $status

@return mixed
Wrapper for json parent method with close transactions and close connections tasks