HOME


Mini Shell 1.0
DIR: /home/cardxfeb/www/vendor/spatie/laravel-medialibrary/src/Support/PathGenerator/
Upload File :
Current File : //home/cardxfeb/www/vendor/spatie/laravel-medialibrary/src/Support/PathGenerator/PathGenerator.php
<?php

namespace Spatie\MediaLibrary\Support\PathGenerator;

use Spatie\MediaLibrary\MediaCollections\Models\Media;

interface PathGenerator
{
    /*
     * Get the path for the given media, relative to the root storage path.
     */
    public function getPath(Media $media): string;

    /*
     * Get the path for conversions of the given media, relative to the root storage path.
     */
    public function getPathForConversions(Media $media): string;

    /*
     * Get the path for responsive images of the given media, relative to the root storage path.
     */
    public function getPathForResponsiveImages(Media $media): string;
}