The code creates a new PrestaShop webservice instance and assigns it the host (M_HOST) and key (M_KEY) values. The code also defines the debug flag as true.
Library: PrestaShopWebservice
$webService = new PrestaShopWebservice(M_HOST, M_KEY, M_DEBUG);