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