Interfaces

Danger

We’re sorry but this documentation section is outdated. Please have that in mind when trying to use it. You can help us making documentation up to date via Sylius Github. Thank you!

Model Interfaces

InventoryUnitInterface

This interface should be implemented by model representing a single InventoryUnit.

Hint

It also contains the default State Machine.

Note

This interface extends TimestampableInterface.

For more detailed information go to Sylius API InventoryUnitInterface.

StockableInterface

This interface provides basic operations for any model that can be stored.

Note

For more detailed information go to Sylius API StockableInterface.

Service Interfaces

AvailabilityCheckerInterface

This interface provides methods for checking availability of stockable objects.

Note

For more detailed information go to Sylius API AvailabilityCheckerInterface.

InventoryUnitFactoryInterface

This interface is implemented by services responsible for creating collection of new inventory units.

Note

For more detailed information go to Sylius API InventoryUnitFactoryInterface.