HEX
Server: Apache
System: Linux webm013.cluster123.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: lesanew (165608)
PHP: 8.3.31
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/lesanew/anestetues2/vendor/roots/acorn/src/Roots/Acorn/Assets/Contracts/Asset.php
<?php

namespace Roots\Acorn\Assets\Contracts;

interface Asset
{
    /**
     * Get the asset's remote URI
     *
     * Example: https://example.com/app/themes/sage/dist/styles/a1b2c3.min.css
     */
    public function uri(): string;

    /**
     * Get the asset's local path
     *
     * Example: /srv/www/example.com/current/web/app/themes/sage/dist/styles/a1b2c3.min.css
     */
    public function path(): string;

    /**
     * Check whether the asset exists on the file system
     */
    public function exists(): bool;

    /**
     * Get the contents of the asset
     *
     * @return mixed
     */
    public function contents();

    /**
     * Get the relative path to the asset.
     *
     * @param  string  $base_path  Base path to use for relative path.
     */
    public function relativePath(string $base_path): string;

    /**
     * Get data URL of asset.
     *
     * @return string
     */
    public function dataUrl();
}