Skip to content

Commit cdbc32a

Browse files
committed
minor symfony#57070 [Cache] sync Relay proxy (xabbuh)
This PR was merged into the 6.4 branch. Discussion ---------- [Cache] sync Relay proxy | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | | License | MIT Commits ------- 55185b8 sync Relay proxy
2 parents 1e621a1 + 55185b8 commit cdbc32a

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)