Rename parse() methods to fromString()
Author: olivervogelCreated May 12, 2026Updated May 12, 2026
Labelsmajor-release
The following classes have a static parse() method which is the equivalent for creating objects from string. I'm considering renaming this method to fromString() since there are other from methods in the library.
- Intervention\Image\DataUri
- Intervention\Image\Color
- Intervention\Image\Colors\Oklch\Color
- Intervention\Image\Colors\Oklab\Color
- Intervention\Image\Colors\Cmyk\Color
- Intervention\Image\Colors\Hsv\Color
- Intervention\Image\Colors\Rgb\Color
- Intervention\Image\Colors\Hsl\Color
Source: Intervention/image