public function __construct($gateway) { parent::__construct($gateway); // hook the IPNListener add_action('init', array($this, 'handle_notification'), 30); }
/** * Get the single instance of YITH_Vendors_Gateway_Panel class * * * @return \YITH_Vendors_Gateway Single instance of the class * @since 1.0 * @author Antonio La Rocca <*****@*****.**> */ function YITH_Vendors_Gateway($gateway) { return YITH_Vendors_Gateway::get_instance($gateway); }