I
I
IvanN7772016-11-07 15:43:40
symfony
IvanN777, 2016-11-07 15:43:40

Where to store interfaces in Symfony 2?

I mean dir. Where they usually lay down.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Artem Soshnikov, 2016-11-07
@IvanN777

Personally, I organize files like this:
%BUNDLE_NAME%/service/%SERVICE_NAME%/interfaces

U
usr58, 2016-11-17
@usr58

in the same directory as the class itself. (entity interfaces in entity, repository interfaces in repository, etc.).
https://github.com/Sylius/Sylius/tree/master/src/S...
https://github.com/akeneo/pim-community-dev/tree/m...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question