Skip to content

Commit ac46de1

Browse files
committed
updating docs
1 parent 374b4bd commit ac46de1

File tree

4 files changed

+19
-1
lines changed

4 files changed

+19
-1
lines changed

docs/cache.md

+5
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,11 @@ $value = $cache->getMultiple(['my-key1', 'my-key2']);
7777
$value = $cache->getMultiple(['my-key1', 'my-key2'], 'default');
7878
```
7979

80+
!!! info "NOTE"
81+
82+
If the Redis adapter is used, the adapter will use `mget` to retrieve multiple keys. This is a more efficient way to retrieve multiple keys from Redis.
83+
84+
8085
### `has`
8186

8287
To check whether a key exists in the cache (or it has not expired) you can call the `has()` method. The method will return `true` if the key exists, or `false` otherwise.

docs/events.md

+2
Original file line numberDiff line numberDiff line change
@@ -885,11 +885,13 @@ The events available in Phalcon are:
885885
| [Db][db-layer] | `db:rollbackTransaction` | Db |
886886
| [Db][db-layer] | `db:rollbackSavepoint` | Db, Savepoint Name |
887887
| [Dispatcher][dispatcher] | `dispatch:afterBinding` | Dispatcher |
888+
| [Dispatcher][dispatcher] | `dispatch:afterCallAction` | Dispatcher |
888889
| [Dispatcher][dispatcher] | `dispatch:afterDispatch` | Dispatcher |
889890
| [Dispatcher][dispatcher] | `dispatch:afterDispatchLoop` | Dispatcher |
890891
| [Dispatcher][dispatcher] | `dispatch:afterExecuteRoute` | Dispatcher |
891892
| [Dispatcher][dispatcher] | `dispatch:afterInitialize` | Dispatcher |
892893
| [Dispatcher][dispatcher] | `dispatch:beforeDispatch` | Dispatcher |
894+
| [Dispatcher][dispatcher] | `dispatch:beforeCallAction` | Dispatcher |
893895
| [Dispatcher][dispatcher] | `dispatch:beforeDispatchLoop` | Dispatcher |
894896
| [Dispatcher][dispatcher] | `dispatch:beforeException` | Dispatcher, Exception |
895897
| [Dispatcher][dispatcher] | `dispatch:beforeExecuteRoute` | Dispatcher |

docs/filter-validation.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,7 @@ $validator->add(
657657
```
658658

659659
### Email
660-
Checks if a value has a correct e-mail format
660+
Checks if a value has a correct e-mail format. If the data to be validated contains UTF-8 characters, you can set the `allowUTF8` option to `true` to allow them.
661661

662662
```php
663663
<?php
@@ -690,6 +690,16 @@ $validator->add(
690690
]
691691
)
692692
);
693+
694+
$validator->add(
695+
696+
new Email(
697+
[
698+
"message" => "The e-mail is not valid",
699+
"allowUTF8" => true,
700+
]
701+
)
702+
);
693703
```
694704

695705
### ExclusionIn

docs/storage.md

+1
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,7 @@ This adapter utilizes PHP's [redis][redis] extension to connect to a Redis serve
341341
| `persistent` | `false` |
342342
| `auth` | |
343343
| `socket` | |
344+
| `ssl` | |
344345

345346
If `auth` data is defined, the adapter will try to authenticate using the passed data. If there is an error in the options, or the server cannot connect or authenticate, a `Phalcon\Storage\Exception` will be thrown.
346347

0 commit comments

Comments
 (0)