Resource repository bundle
Almost every single website have content that exist just in one place. For example text box at main page.
There is no problem if this text is static but what if site admin needs to modify it?
Then you should use ResourceRepositoryBundle that allows you to define resources in resource map and use them in Twig
templates or in controller. Resources are stored in database but you should not use them as normal Entity.
Resource is accessible only through
Resource\Repository object that is registered as Symfony2 service.