Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions docs/docs/developer-extensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ Say we have an extension with vendor/extension as my/example. To create a block

* Create a "blocks" folder
* Create my_block.php file in the blocks folder with the following content
```php
```
<?php
namespace my\example\blocks;

use blitze\sitemaker\services\blocks\driver\block;
Expand All @@ -33,7 +34,7 @@ class my_block extends block
}
}
```
Then in your config.yml file, add the following:
Then in your config.yml file (.../config/default/container/service.yml), add the following:
```yml
services:

Expand Down