Skip to content

Commit 7b112a3

Browse files
committed
update docs for setExpiration() method
1 parent 0809844 commit 7b112a3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/methods.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ Available options:
1010

1111
### setExpiration()
1212

13-
With this method we can set temporary value for expiration. Value set here will be resetted after calling method: `siteUrl()`, `urlTo()` or `sign()`.
13+
With this method we can set temporary value for expiration. The value set here will be reset when the: `siteUrl()`, `urlTo()` or `sign()` methods are called.
14+
15+
This is number of seconds in unix timestamp that will be added to the current date.
1416

1517
```php
1618
service('signedurl')->setExpiration(DAY)->siteUrl('url');

0 commit comments

Comments
 (0)