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

declare(strict_types=1);

namespace 
InterventionImageColors;

use 
InterventionImageFile;
use 
InterventionImageExceptionsRuntimeException;
use 
InterventionImageInterfacesProfileInterface;

class 
Profile extends File implements ProfileInterface
{
    
/**
     * Create profile object from path in file system
     *
     * @param string $path
     * @throws RuntimeException
     * @return Profile
     */
    
public static function fromPath(string $path): self
    
{
        return new 
self(fopen($path'r'));
    }
}
Онлайн: 0
Реклама