/** * Rotates this image by 90 degrees in the specified direction. * @param string $direction the direction to rotate the image in. * @return EThumbnail */ public function rotateImage($direction = 'CW') { $this->_thumbnail = $this->_thumbnail->rotateImage($direction); return $this; }