<?php

namespace MtcPharmacy\Bundles;

use Illuminate\Support\ServiceProvider;


class BundlesServiceProvider extends ServiceProvider
{

    public function boot() : void
    {
        $this->loadRoutesFrom(__DIR__ . '/routes/web.php');

        // Pharmacy platform uses custom twig template loaders.
        $view_paths = \Config::get('view.paths');
        $view_paths[] = __DIR__ . '/templates';
        \Config::set('view.paths', $view_paths);
    }


    public function register()
    {
        //
    }
}
