Skip to content

Public APIs

You are viewing the next version (v6.7) of the documentation.
Click here to switch to the stable version (v6.6), or use the version switcher on the left to navigate between versions.

Public APIs

  • Services not intended for decoration or direct use must be marked with @internal and have an appropriate comment in the docblock why they should not be used or decorated directly.
  • Classes marked with @internal need not be kept compatible for third-party developers. Here the public API can change at any time.
  • __construct methods of services instantiated via DI container are not public API and can be changed at any time.
  • __construct functions of Data Transfer Objects (DTO), which the developer himself could therefore instantiate (e.g. CalculatedPrice, QuantityPriceDefinition), are public API and must be kept backward compatible.