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

declare(strict_types=1);

namespace 
InterventionImageInterfaces;

use 
Stringable;

interface 
FileInterface extends Stringable
{
    
/**
     * Create file object from path in file system.
     */
    
public static function fromPath(string $path): self;

    
/**
     * Save data in given path in file system.
     */
    
public function save(string $path): void;

    
/**
     * Create stream resource from encoded data.
     *
     * @return resource
     */
    
public function toStream();

    
/**
     * Return size in bytes.
     */
    
public function size(): int;

    
/**
     * Transform file object into string.
     */
    
public function toString(): string;
}
Онлайн: 1
Реклама