protected function moveFile($file, $filePath)
	{
		if (!rename($file, $filePath)) {
            $error = error_get_last();
            throw new Exceptions\FileException(sprintf('Could not move the file "%s" to "%s" (%s)', $file, $filePath, strip_tags($error['message'])));
        }
	}
protected function moveFile($file, $filePath)
	{
		if (!rename($file, $filePath)) {
            $error = error_get_last();
            throw new Exceptions\FileException(sprintf('Could not move the file "%s" to "%s" (%s)', $file, $filePath, strip_tags($error['message'])));
        }
	}
protected function moveFile ( $ file , $ filePath ) { if ( ! rename ( $ file , $ filePath ) ) { $ error = error_get_last ( ) ; throw new Exceptions \ FileException ( sprintf ( 'Could not move the file "%s" to "%s" (%s)' , $ file , $ filePath , strip_tags ( $ error [ 'message' ] ) ) ) ; } }
Attempt to move and uploaded file to it's intended location on disk.

@param  string $file
@param  string $filePath
@return void
Attempt to move and uploaded file to it s intended location on disk .