PHP Classes

File: src/helpers.php

Recommend this page to a friend!
  Classes of Moamen Eltouny   Laravel Shopping Basket   src/helpers.php   Download  
File: src/helpers.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Laravel Shopping Basket
Add a shopping basket to a Laravel application
Author: By
Last change:
Date: 1 year ago
Size: 206 bytes
 

Contents

Class file image Download
<?php

if (!function_exists('basket')) {
   
/**
     * Basket Object
     *
     * @return \Pharaonic\Laravel\Basket\BasketManager
     */
   
function basket()
    {
        return
app('basket');
    }
}