Closed nesk closed 7 years ago
This interface allows to type hint a color without knowing its type:
function getRedChannel(Spatie\Color\Color $color) { return $color->red(); }
This interface allows to type hint a color without knowing its type: