setQualifierValue(Degree::byAngle(...$degree)); } /** * @param $value * * @return Angle */ public static function fromParams($value) { return new self(...ArrayUtils::build($value)); } /** * Creates the instance. * * @param int|array $degree Given degrees or mode. * * @return Angle * * @internal */ public static function createWithDegree(...$degree) { return new self(...$degree); } /** * Creates the instance. * * @param string|RotationMode|array $mode Given mode. * * @return Angle * * @internal */ public static function createWithMode(...$mode) { return new self(...$mode); } }