<?php
namespace app\controllers;

class cart
{
    public static function index($defaults)
    {
        echo $GLOBALS['twig']->render('lib/pages/index.twig', array_merge($defaults, [
            'child_template' => 'cart.twig',
            'page_title'     => $_ENV['APP_NAME'] . ' Cart',
            'breadcrumbs'    => [
                [
                    'url'   => null,
                    'title' => 'Cart',
                ],
            ],
        ]));
    }
}
