Improved Readme

Manually merged https://github.com/Crinsane/LaravelShoppingcart/pull/311
This commit is contained in:
Patrick Henninger
2019-02-07 12:32:53 +01:00
parent 1e96466ee4
commit 04f4dfa018
2 changed files with 3 additions and 1 deletions

View File

@@ -21,7 +21,7 @@ Now you're ready to start using the shoppingcart in your application.
**As of version 2 of this package it's possibly to use dependency injection to inject an instance of the Cart class into your controller or other class**
## Overview
## Table of Contents
Look at one of the following topics to learn more about LaravelShoppingcart
* [Usage](#usage)

View File

@@ -580,6 +580,8 @@ class Cart
'identifier' => $identifier,
'instance' => $this->currentInstance(),
'content' => serialize($content),
'created_at' => date('Y-m-d H:i:s'),
'updated_at' => date('Y-m-d H:i:s')
]);
$this->events->fire('cart.stored');