Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1f90bc3

Browse files
committed
Merge branch '7.1' into 7.2
* 7.1: sync Relay proxy
2 parents eb626c7 + f7b4411 commit 1f90bc3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Symfony/Component/Cache/Traits/RelayProxy.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,11 @@ public function replicaof($host = null, $port = 0): \Relay\Relay|bool
276276
return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->replicaof(...\func_get_args());
277277
}
278278

279+
public function waitaof($numlocal, $numremote, $timeout): \Relay\Relay|array|false
280+
{
281+
return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->waitaof(...\func_get_args());
282+
}
283+
279284
public function restore($key, $ttl, $value, $options = null): \Relay\Relay|bool
280285
{
281286
return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->restore(...\func_get_args());

0 commit comments

Comments
 (0)