terminal42 / contao-node

Manage content centrally as nodes and reuse them everywhere.
MIT License
29 stars 8 forks source link

Add NodeManager service alias for autowiring #29

Closed fritzmg closed 3 years ago

fritzmg commented 3 years ago

If you create a service, fragment, hook etc. in your App and want to use the NodeManager for your own content element or whatever the case may be, you currently have to define a bind for dependency injection, if you rely on autowiring. It would be convenient to already have the FQCN service alias defined in the extension itself so that you do not have to do that :)