class SiteRepositoryCachingAspect (View source)

Aspect to memoize values from SiteRepository without the overhead of a query cache

Properties

protected Environment $environment
protected Site|bool $firstOnlineSite
protected Domain|bool $domainForActiveRequest

Methods

mixed
cacheFirstOnlineSite(JoinPointInterface $joinPoint)

No description

mixed
cacheDomainForActiveRequest(JoinPointInterface $joinPoint)

No description

Details

mixed cacheFirstOnlineSite(JoinPointInterface $joinPoint)

No description

Parameters

JoinPointInterface $joinPoint

The current join point

Return Value

mixed

mixed cacheDomainForActiveRequest(JoinPointInterface $joinPoint)

No description

Parameters

JoinPointInterface $joinPoint

The current join point

Return Value

mixed