When we mimic a function in our overriding class, does Prestashop simply replace the whole function with the original one or does it append to it. for eg.
/mymodule/override/classes/Product.php:
class Product extends ProductCore {
public function add() {
// some function
}
}
Is it going to append // some function
or is it going to replace the whole class add()