<?php use App\Notifications\WonderSlack; use App\Notifications\DmCreated; (new WonderSlack())->notify(new DmCreated('DMデータが作成されました。'));