public function setHues($value)
    {
        $hues = array();

        if ($value !== null) {
            if (is_array($value)) {
                foreach ($value as $hue) {
                    $hues[] = self::normalizeHue($hue);
                }
            } else {
                $hues[] = self::normalizeHue($value);
            }
        }

        $this->hues = empty($hues) ? null : $hues;
        return $this;
    }
public function setHues($value)
    {
        $hues = array();

        if ($value !== null) {
            if (is_array($value)) {
                foreach ($value as $hue) {
                    $hues[] = self::normalizeHue($hue);
                }
            } else {
                $hues[] = self::normalizeHue($value);
            }
        }

        $this->hues = empty($hues) ? null : $hues;
        return $this;
    }
public function setHues ( $ value ) { $ hues = array ( ) ; if ( $ value !== null ) { if ( is_array ( $ value ) ) { foreach ( $ value as $ hue ) { $ hues [ ] = self :: normalizeHue ( $ hue ) ; } } else { $ hues [ ] = self :: normalizeHue ( $ value ) ; } } $ this -> hues = empty ( $ hues ) ? null : $ hues ; return $ this ; }
Sets the allowed hues of generated icons.

@param array(integer)|integer|null $value A hue specified in degrees,
or an array of hues specified in degrees. If set to null, the hue
list is cleared.
@return self
Sets the allowed hues of generated icons .