Skip to content

Commit

Permalink
Merge pull request #561 from plural/public-api-caching
Browse files Browse the repository at this point in the history
Add caching to all public API methods except deck.
  • Loading branch information
plural authored Nov 2, 2021
2 parents 6213157 + 7c2c087 commit 438239e
Show file tree
Hide file tree
Showing 3 changed files with 237 additions and 112 deletions.
6 changes: 6 additions & 0 deletions app/config/services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ services:
resource: '../../src/AppBundle/*'
exclude: '../../src/AppBundle/{Behavior,DataFixtures,DQL,Entity,Repository,Resources}'

AppBundle\EventListener\DecklistListener:
tags:
- { name: doctrine.event_listener, entity: AppBundle\Entity\Decklist, event: postPersist }
- { name: doctrine.event_listener, entity: AppBundle\Entity\Decklist, event: postUpdate }
- { name: doctrine.event_listener, entity: AppBundle\Entity\Decklist, event: postRemove }

FOS\OAuthServerBundle\Entity\ClientManager:
alias: 'fos_oauth_server.client_manager.default'

Expand Down
Loading

0 comments on commit 438239e

Please sign in to comment.