芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/www/vendor/intervention/image/src/Intervention/Image/Gd/Commands/RotateCommand.php
argument(0)->type('numeric')->required()->value(); $color = $this->argument(1)->value(); $color = new Color($color); // restrict rotations beyond 360 degrees, since the end result is the same $angle %= 360; // rotate image $image->setCore(imagerotate($image->getCore(), $angle, $color->getInt())); return true; } }