Skip to content

Reference

phil/content-warnings-bundle
TypeKindRole
PhilContentWarningsBundlefinal class, AbstractBundleThe configuration and the services
Application\CatalogueFactoryfinal readonly classBuilds the catalogue from the configuration
Application\CatalogueLabelsfinal readonly classLabels and choices in the current locale
Application\WarningScreenfinal readonly classThe decision for the current reader
Application\Contract\WarningPreferencesStoreinterfaceWhere the current reader's preferences are kept
Application\Exception\PreferencesNotSavedfinal class, RuntimeExceptionPreferences with no one to save them for
Infrastructure\Session\SessionWarningPreferencesfinal readonly classPreferences in the HTTP session
Infrastructure\Memory\InMemoryWarningPreferencesfinal classPreferences in memory, reset between requests
Infrastructure\Doctrine\ContentWarningsColumnTypefinal class, DBAL TypeThe column type phil_content_warnings
Infrastructure\Form\ContentWarningsTypefinal class, form typePicks the warnings of a piece of content
Infrastructure\Form\ContentWarningsTransformerfinal classWarnings to theme keys and back
Infrastructure\Form\WarningPreferencesTypefinal class, form typeA reader's preferences
Infrastructure\Form\WarningPreferencesTransformerfinal classPreferences to displays and back
Infrastructure\Twig\ContentWarningsExtensionfinal readonly classThe Twig functions