title: Call to undefined method Illuminate\Notifications\Notification::send()
body: <p>I am trying to make a notification system in my project.<br>
  These are the steps i have done:  </p>
  
  <blockquote>
    <p>1-php artisan notifications:table<br>
    2-php artisan migrate<br>
    3-php artisan make:notification AddPost</p>
  </blockquote>
  
  <p>In my <code>AddPost.php</code> file i wrote this code:</p>
  
  <pre><code>&lt;?php
  
  namespace App\Notifications;
  
  use Illuminate\Bus\Queueable;
  use Illuminate\Notifications\Notification;
  use Illuminate\Contracts\Queue\ShouldQueue;
  use Illuminate\Notifications\Messages\MailMessage;
  
  class AddPost extends Notification
  {
      use Queueable;
  
  
      protected $post;
      public function __construct(Post $post)
      {
          $this-&gt;post=$post;
      }
  
  
      public function via($notifiable)
      {
          return ['database'];
      }
  
  
  
  
      public function toArray($notifiable)
      {
          return [
              'data'=&gt;'We have a new notification '.$this-&gt;post-&gt;title ."Added By" .auth()-&gt;user()-&gt;name
          ];
      }
  }
  </code></pre>
  
  <p>In my controller I am trying to save the data in a table and every thing was perfect.<br>
  This is my code in my controller:</p>
  
  <pre><code>&lt;?php
  
  namespace App\Http\Controllers;
  use Illuminate\Http\Request;
  use App\Post;
  use App\User;
  //use App\Notifications\Compose;
  use Illuminate\Notifications\Notification;
  use DB;
  use Route;
  
  class PostNot extends Controller
  {
      public function index(){
         $posts =DB::table('_notification')-&gt;get();
         $users =DB::table('users')-&gt;get();
         return view('pages.chat',compact('posts','users'));
  
  
      }
  public function create(){
  
          return view('pages.chat');
  
      }
  
  
  public function store(Request $request){
      $post=new Post();
     //dd($request-&gt;all());
     $post-&gt;title=$request-&gt;title;
     $post-&gt;description=$request-&gt;description;
     $post-&gt;view=0;
  
     if ($post-&gt;save())
     {  
      $user=User::all();
      Notification::send($user,new AddPost($post));
     }
  
     return  redirect()-&gt;route('chat');  
      }
  
  }
  </code></pre>
  
  <p>Everything was good until I changed this code:</p>
  
  <pre><code>$post-&gt;save();
  </code></pre>
  
  <p>to this :</p>
  
  <pre><code>if ($post-&gt;save())
         {  
          $user=User::all();
          Notification::send($user,new AddPost($post));
  
         }
  </code></pre>
  
  <p>It started to show an error which is:</p>
  
  <blockquote>
    <p>FatalThrowableError in PostNot.php line 41: Call to undefined method
    Illuminate\Notifications\Notification::send()</p>
  </blockquote>
  
  <p>How can i fix this one please??<br>
  Thanks.</p>