Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
100.00% covered (success)
100.00%
1 / 1
n/a
0 / 0
CRAP
n/a
0 / 0
1<?php
2
3declare(strict_types=1);
4
5/** @license For full copyright and license information, please see the LICENSE.md file. */
6
7namespace App\Core\Asset;
8
9defined('AMMONLY_APP') || exit('Direct script access is forbidden.');
10
11/**
12 * Contract for asset URL resolution and cache-busting management.
13 *
14 * @package App\Core\Asset
15 */
16interface AssetManagerInterface
17{
18    /**
19     * Resolves a public asset path into a versioned URL with automated cache busting.
20     *
21     * @param string $path Asset path relative to public directory.
22     * @return string Versioned asset URL.
23     */
24    public function getAssetUrl(string $path): string;
25}