HumHub Documentation (unofficial)

SymfonyCacheProvider
in package
implements CredentialProvider

FinalYes

Cache the Credential generated by the decorated CredentialProvider with Symfony Cache.

Symfony Cache provides stampede protection which is preferred on applications with more than 1 or 2 requests per second.

The Credential will be reused until it expires.

Tags
author

Jérémy Derussé jeremy@derusse.com

Table of Contents

Interfaces

CredentialProvider
Interface for providing Credential.

Properties

$cache  : CacheInterface
$decorated  : CredentialProvider
$logger  : LoggerInterface|null

Methods

__construct()  : mixed
getCredentials()  : Credentials|null
Return a Credential when possible. Return null otherwise.

Properties

Methods


        
On this page

Search results