mirror of
https://github.com/kevin-DL/LaravelShoppingcart.git
synced 2026-01-23 15:41:24 +00:00
Added syntax highlight to README
This commit is contained in:
@@ -131,6 +131,8 @@ These Collections extends the 'native' Laravel 4 Collection class, so all method
|
|||||||
|
|
||||||
Below is a little example of how to list the cart content in a table:
|
Below is a little example of how to list the cart content in a table:
|
||||||
|
|
||||||
|
<?php
|
||||||
|
|
||||||
// Controller
|
// Controller
|
||||||
|
|
||||||
Cart::add('192ao12', 'Product 1', 1, 9.99);
|
Cart::add('192ao12', 'Product 1', 1, 9.99);
|
||||||
|
|||||||
Reference in New Issue
Block a user