service contract


A set of PHP interfaces that are defined for a module. A service contract includes data interfaces, which preserve data integrity, and service interfaces, which hide business logic details from service requestors such as controllers, web services, and other modules. Web APIs can be bound to service contracts via configuration files.

See also: phpweb-api