user, new ProductsPurposeNotifyer($products_purpose, 'complete'));; } /** * Send the notification to the users after verify. * * @param ProductsPurpose $products_purpose * * @return void */ public function verify(ProductsPurpose $products_purpose) { return Notification::send($products_purpose->user, new ProductsPurposeNotifyer($products_purpose, 'verify'));; } /** * Send the notification to the users after approve. * * @param ProductsPurpose $products_purpose * * @return void */ public function approve(ProductsPurpose $products_purpose) { return Notification::send($products_purpose->user, new ProductsPurposeNotifyer($products_purpose, 'approve'));; } /** * Send the notification to the users after publish. * * @param ProductsPurpose $products_purpose * * @return void */ public function publish(ProductsPurpose $products_purpose) { return Notification::send($products_purpose->user, new ProductsPurposeNotifyer($products_purpose, 'publish'));; } /** * Send the notification to the users after archive. * * @param ProductsPurpose $products_purpose * * @return void */ public function archive(ProductsPurpose $products_purpose) { return Notification::send($products_purpose->user, new ProductsPurposeNotifyer($products_purpose, 'archive'));; } /** * Send the notification to the users after unpublish. * * @param ProductsPurpose $products_purpose * * @return void */ public function unpublish(ProductsPurpose $products_purpose) { return Notification::send($products_purpose->user, new ProductsPurposeNotifyer($products_purpose, 'unpublish'));; } }