<?php
namespace app\controllers;

class category
{
    public static function power_meters($defaults)
    {
        echo $GLOBALS['twig']->render('lib/pages/index.twig', context: array_merge($defaults, [
            'child_template'   => 'lib/pages/category.twig',
            'page_title'       => 'Power Meters - ' . $_ENV['APP_NAME'],
            'product_category' => 'power_meters',
        ]));
    }
}
