Supported Versions: PHP 4 >= 4.3.0, PHP 5, PHP 7, PHP 8
Rotate an image with a given angle
<?php imagerotate(GdImage $image, float $angle, int $background_color): GdImage|false
<?php         $angle = fmod($angle, 360);




        $image->setCore(imagerotate($image->getCore(), $angle, $color->getInt()));



        return true;

    }