WebsiteIdContextProviderInterface
WebsiteIdContextProviderInterface.php
:
23
Interface
Resolves a default value for the Raptor `websiteId` (parameter `p7`) when none is supplied explicitly through the tracking event context.
Implementations are aggregated via the
ibexa.connector.raptor.tracking.website_id_context_provider service tag and
consulted by the chain in descending tag-priority order. The first implementation
returning a non-null value wins.
Contract: implementations MUST return either null (meaning "decline, let the
chain continue") or a non-empty string. Returning an empty string is not allowed.
Methods¶
getWebsiteId()
¶
WebsiteIdContextProviderInterface.php
:
28
|
|
|
Return values
non-empty-string|null