A
A
Alexander Evgenievich2015-12-03 15:32:04
symfony
Alexander Evgenievich, 2015-12-03 15:32:04

Where to put common interfaces for bundles?

Hello.
Actually where to take out common interfaces for bundles? For example, there is an interface that describes the return of validation rules "ValidateRuleInterface::getConstraints()" . These rules will be used in several bundles.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dave, 2015-12-03
@banderos120

Store common interfaces and services in an App-type bundle (in the core).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question