public function rotate($src_path, $dst_path, $angle) { $image = new shopImage($src_path); return $image->rotate($angle)->save($dst_path); }