src/S3/Image.php
public function save($path = 'i')
    {
        $tmp_path = sys_get_temp_dir() . '/';
        $this->handle->process($tmp_path);

        $this->s3->sendFile($tmp_path . $this->handle->file_dst_name, $path, $this->_new_name);
        unlink($tmp_path . $this->handle->file_dst_name);

        return $this->_new_name;
    }
public function save($path = 'i')
    {
        $tmp_path = sys_get_temp_dir() . '/';
        $this->handle->process($tmp_path);

        $this->s3->sendFile($tmp_path . $this->handle->file_dst_name, $path, $this->_new_name);
        unlink($tmp_path . $this->handle->file_dst_name);

        return $this->_new_name;
    }
public function save ( $ path = 'i' ) { $ tmp_path = sys_get_temp_dir ( ) . '/' ; $ this -> handle -> process ( $ tmp_path ) ; $ this -> s3 -> sendFile ( $ tmp_path . $ this -> handle -> file_dst_name , $ path , $ this -> _new_name ) ; unlink ( $ tmp_path . $ this -> handle -> file_dst_name ) ; return $ this -> _new_name ; }
Save the current image on the desired path

@param string $path File system path to save the image to
Save the current image on the desired path