Create the extension Bundle¶
To extend PlatformUI, the very first thing to do is to create a Symfony bundle. For that, you can use the Symfony generate bundle command in the following way:
$ app/console generate:bundle --namespace=EzSystems/ExtendingPlatformUIConferenceBundle --dir=src --format=yml --no-interaction
This will generate a new bundle skeleton in
add it to the application kernel and configure eZ Platform to use the generated
routing.yml without asking any questions.
Of course, you are free to tweak the bundle's namespace and directory or to integrate the PlatformUI extension code in an existing bundle.
Results and next step¶
If you run this exact command, you will pretty much get the code available under the 1_bundle tag on GitHub.
The next step is then to prepare the bundle to handle PlatformUI specific configuration.
⬅ Previous: Introduction
Next: Set up the configuration ➡