'top left', self::TopCenter => 'top', self::TopRight => 'top right', self::MiddleLeft => 'left', self::Center => 'center', self::MiddleRight => 'right', self::BottomLeft => 'bottom left', self::BottomCenter => 'bottom', self::BottomRight => 'bottom right', }; } /** * @return list */ public static function values(): array { return array_map(fn (self $case): string => $case->value, self::cases()); } }