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

declare(strict_types=1);

namespace 
InterventionImageColors;

use 
InterventionImageFile;
use 
InterventionImageInterfacesProfileInterface;

class 
Profile extends File implements ProfileInterface
{
    
/**
     * Create color profile instance from given path in file system.
     */
    
public static function fromPath(string $path): self
    
{
        
$stream fopen(self::readableFilePathOrFail($path), 'r');

        return new 
self($stream);
    }
}
Онлайн: 1
Реклама