8000 sync Relay proxy · symfony/symfony@55185b8 · GitHub
[go: up one dir, main page]

Skip to content

Commit 55185b8

Browse files
committed
sync Relay proxy
1 parent 1e621a1 commit 55185b8

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)
0