Conventions used
There are a number of text conventions used throughout this book.
Code in text
: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "Add a template to /bundles/BlogBundle/Resources/views/Areas
called view.html.twig
."
A block of code is set as follows:
<?php use Pimcore\Bundle\BundleGeneratorBundle\PimcoreBundleGeneratorBundle; return [ PimcoreBundleGeneratorBundle::class => ['all' => true], ];
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
"autoload": { "psr-4": { "App\\": "src/", "BlogBundle\\": "bundles/BlogBundle/", "Pimcore\\Model\\DataObject\\": "var/classes/DataObject", "Pimcore\\Model\\Object\\": "var/classes/Object", "Website\\": "legacy/website/lib" } },
Any command-line input or output is written as follows:
docker-compose exec php bash
Bold: Indicates a new term, an important word, or words that you see on screen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "Fill the form with data (it is a contact form, so the field meanings should be self-explanatory) and then click Send."
Tips or important notes
Appear like this.