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

declare(strict_types=1);

namespace 
InterventionImageInterfaces;

use 
InterventionImageExceptionsColorException;

interface 
ColorProcessorInterface
{
    
/**
     * Turn given color in the driver's color implementation
     *
     * @param ColorInterface $color
     * @throws ColorException
     * @return mixed
     */
    
public function colorToNative(ColorInterface $color);

    
/**
     * Turn the given driver's definition of a color into a color object
     *
     * @param mixed $native
     * @throws ColorException
     * @return ColorInterface
     */
    
public function nativeToColor(mixed $native): ColorInterface;
}
Онлайн: 0
Реклама