관리-도구
편집 파일: ColorProcessorInterface.php
<?php declare(strict_types=1); namespace Intervention\Image\Interfaces; use Intervention\Image\Exceptions\ColorException; 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; }