I override the Shop class and i put in mymodule/override/classes
class Shop extends ShopCore
{
public function __construct($id = null, $id_lang = null, $id_shop = null)
{
parent::__construct($id, $id_lang, $id_shop);
}
public static function someMethod()
{
}
}
When i call someMethod
in front controller i get the error :
Call to undefined method Shop::someMethod()
Its possible in prestashop to add a static method to override class?
Thanks.