Skip to content

Commit

Permalink
Merge pull request #36 from chrisgraham/develop
Browse files Browse the repository at this point in the history
Fixed slightly confusing language regarding setPassword
  • Loading branch information
Ne-Lexa authored Apr 4, 2019
2 parents e7528b2 + 4134ca8 commit 97db60a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ $zipFile->rename($oldName, $newName);
```
<a name="Documentation-ZipFile-setCompressionLevel"></a> **ZipFile::setCompressionLevel** - set the compression level for all files in the archive.

> _Note that this method does not apply to entries that were added after this method was run._
> _Note that this method does not apply to entries that are added after this method is run._
By default, the compression level is -1 (`\PhpZip\ZipFile::LEVEL_DEFAULT_COMPRESSION`) or the compression level specified in the archive for Deflate compression.

Expand Down Expand Up @@ -671,7 +671,7 @@ $zipFile->setReadPasswordEntry($entryName, $password);
```
<a name="Documentation-ZipFile-setPassword"></a> **ZipFile::setPassword** - sets a new password for all files in the archive.

> _Note that this method does not apply to entries that were added after this method was run._
> _Note that this method does not apply to entries that are added after this method is run._
```php
$zipFile->setPassword($password);
```
Expand All @@ -691,7 +691,7 @@ $zipFile->setPasswordEntry($entryName, $password, $encryptionMethod);
```
<a name="Documentation-ZipFile-disableEncryption"></a> **ZipFile::disableEncryption** - disable encryption for all entries that are already in the archive.

> _Note that this method does not apply to entries that were added after this method was run._
> _Note that this method does not apply to entries that are added after this method is run._
```php
$zipFile->disableEncryption();
```
Expand Down

0 comments on commit 97db60a

Please sign in to comment.