* @Date:2018-11-05T11:43:53+0800 * @return [type] [description] */ abstract public static function title(); /** * 通知默认发送通道 * @Author: * @Date:2018-11-05T11:44:03+0800 * @param App\User $notifiable 通知对象 * @return array */ public function via($notifiable) { return ['database', WeChatChannel::class]; } /** * 格式化至数据库 * @Author: * @Date:2018-11-05T11:44:51+0800 * @param App\User $notifiable 通知对象 */ abstract public function toArray($notifiable); /** * 通知到微信的实际方法 * @Author: * @Date:2018-11-12T16:35:44+0800 * @param App\User $notifiable 通知对象 */ abstract public function toWechat($notifiable); }