Jeremy

4 weeks ago

Gimcrack

Code

//User::forceCreate(['name' => 'Jeremy Bloomstrom','email' => 'jeremy@jeremybloomstrom.com', 'password' => bcrypt('P@ssw0rd')]);

//Coupon::all()
  
//Cart::all();

//Cart::first()->items

//Invoice::all();

//Cart::all()
//Invoice::latest()->first()->fresh();

//$cart = Cart::first();
  


//$in = InvoiceItemCollection::createFromCart($cart);


//User::all();

//Invoice::latest()->first()->id;

$user = User::first();

$user->notify( new App\Notifications\NewOrderNotification( Invoice::latest()->first()) );

Output

[!] Aliasing 'User' to 'App\User' for this Tinker session.
[!] Aliasing 'Invoice' to 'App\Invoice' for this Tinker session.
PHP Warning:  file_get_contents(/css/app.css): failed to open stream: No such file or directory in D:/Code/dev.specialeventsalaska/vendor/fedeisas/laravel-mail-css-inliner/src/CssInlinerPlugin.php on line 70
New course: Desktop apps with Electron