Snippets are small pieces of content that can be loaded and used anywhere on the website.
Install the bundle by running
composer require rabble/snippet-bundle
Add the following class to your config/bundles.php
file:
return [
...
Rabble\SnippetBundle\RabbleSnippetBundle::class => ['all' => true],
]