Services

This section is deprecated. However, as of now, the Sylius E-Commerce project is still resorting to this configuration so you might want to check it out.

When you register an entity as a resource, several services are registered for you. For the app.book resource, the following services are available:

  • app.controller.book - instance of ResourceController;

  • app.factory.book - instance of FactoryInterface;

  • app.repository.book - instance of RepositoryInterface;

  • app.manager.book - alias to an appropriate Doctrine's ObjectManager.

Go back to the documentation's index

Last updated