Вход Регистрация
Файл: vendor/intervention/image/src/Interfaces/OriginInterface.php
Строк: 48
<?php

declare(strict_types=1);

namespace 
InterventionImageInterfaces;

use 
InterventionImageFormat;
use 
InterventionImageMediaType;

interface 
OriginInterface
{
    
/**
     * Return media type of origin.
     */
    
public function mediaType(): string;

    
/**
     * Set media type of current instance.
     */
    
public function setMediaType(string|MediaType $type): self;

    
/**
     * Return file path of origin.
     */
    
public function filePath(): ?string;

    
/**
     * Set file path for origin.
     */
    
public function setFilePath(string $path): self;

    
/**
     * Return file extension if origin was created from file path.
     */
    
public function fileExtension(): ?string;

    
/**
     * Return format of the origin image.
     */
    
public function format(): Format;
}
Онлайн: 1
Реклама