Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 723 Bytes

README.md

File metadata and controls

26 lines (16 loc) · 723 Bytes

Object Mapper

Interface for orisai/object-mapper mapped objects

Content

Setup

Install with Composer

composer require orisai/object-mapper-contracts

Why?

This package provides just interface Orisai\ObjectMapper\MappedObject. Thanks to that, it is possible to create a lib with value objects which use object mapper as an optional dependency.

Annotations, attributes nor classes used in callbacks have to exist for value objects to be usable in use cases which do not require object mapper.

For everything else, refer to orisai/object-mapper docs