In order to help you manage authentication or cache systems, this lib provides you with useful strategies managements.
Since theses classes are register as event listener (it use the event dispatcher of Symfony), you can add multiple strategies of each feature.
These classes implements the CacheStrategyInterface
.
You register them using the method useCache
of the ApiFactory.
These classes implements the AuthStrategyInterface
.
You register them using the method useAuthentication
of the ApiFactory.