Copied!

DeduplicateStamp

DeduplicateStamp.php : 25
Implements StampInterface

(c) Fabien Potencier <fabien@symfony.com>.

since Ibexa 5.0.10. Starting from Ibexa 6.0, the native DeduplicateStamp will be used instead. Ibexa 5.0 is not prepared to handle the Symfony stamp yet, so keep using this class until you upgrade.

Original code: https://github.com/symfony/symfony/blob/7.3/src/Symfony/Component/Messenger/Stamp/DeduplicateStamp.php

Tags
Deprecated

since Ibexa 5.0.10. Starting from Ibexa 6.0, the native DeduplicateStamp will be used instead. Ibexa 5.0 is not prepared to handle the Symfony stamp yet, so keep using this class until you upgrade.

Methods

public__construct()

DeduplicateStamp.php : 33
public __construct(string $key[, float|null $ttl = 300.0 ][, bool $onlyDeduplicateInQueue = false ])

Parameters

Name Type Default value Description
$key string - -
$ttl float|null 300.0 -
$onlyDeduplicateInQueue bool false -

publicgetKey()

DeduplicateStamp.php : 63
public getKey() : Key

Return values

Key

publicgetTtl()

DeduplicateStamp.php : 68
public getTtl() : float|null

Return values

float|null

publiconlyDeduplicateInQueue()

DeduplicateStamp.php : 58
public onlyDeduplicateInQueue() : bool

Return values

bool