<?php
// components/router_helpers.php
use Components\Router;

if (!function_exists('route')) {
    function route(string $name, array $query = [], bool $absolute = false): string {
        return Router::url($name, $query, $absolute);
    }
}
