Edit on GitHub
Jump to docs navigation

Extending Bolt / Bolt's BaseExtension Class

Note: You are currently reading the documentation for Bolt 4.0. Looking for the documentation for Bolt 3.7 instead?

If you're developing custom code in your project or in an extension, you're free to do it however you'd like, if you're proficient with Symfony. Regardless of that, it is often very convenient to make the 'entrypoint' of your Extension or custom code extend the Bolt\BaseExtension class.

Topic
Extension Bolt's BaseExtension class. Has some helpers and other functionality commonly used in an Extension scope
Twig
Command
Listener
Widget


Edit this page on GitHub
Couldn't find what you were looking for? We are happy to help you in the forum, on Slack or on Github.