<?php

namespace App;


class TwigHelper
{

    public static function addCustomFunctions()
    {
        try {
            $twig = app('twig');
            require_once SITE_PATH . '/core/includes/functions.twig.php';
        } catch(\Exception $e) {
            // Sometimes 'twig' can't be loaded even though it works just fine.
        }
    }

}

