Bricks Class and Template in a single folder


#1

Hi there,
I’m looking for the documentation on how to create a brick that has all the files in just one folder.
This in order to copy and paste this brick in another project without split files in other folders.

At the moment I have those files:
app/src/AppBundle/Document/Areabrick/.php
app/app/Resources/views/Areas//view.html.php

Desired result:
app/src/AppBundle/Document/Areabrick//.php
app/src/AppBundle/Document/Areabrick//view.html.php

Is it possible?

Thank you


#2

Create a bundle that you install in every project…


#3

Thank you for the answer.

Can you please link me some documentation about that.
I’m looking for bundle in Pimcore documentation but I can’t find anything.


#4