Instructor Contracts
Shared contracts (interfaces) and value objects for the Instructor PHP library. This package holds the small, dependency-light abstractions that multiple Instructor packages depend on — validation, transformation, and deserialization contracts plus their associated value objects — so that higher-level packages can share them without creating circular dependencies between each other. It depends only oncognesy/instructor-utils.
Contents
Cognesy\Instructor\Validation\—ValidationResult,ValidationError, and theCanValidateSelf/CanValidateObject/CanValidateValuecontracts.Cognesy\Instructor\Transformation\— theCanTransformSelf/CanTransformDatacontracts.Cognesy\Instructor\Deserialization\— theCanDeserializeClass/CanDeserializeSelfcontracts.