lum / lum-data
Data Objects - objects with multiple data formats
v1.1.0
2023-10-22 19:21 UTC
Requires
- lum/lum-compat: ^2.6
- lum/lum-meta: ^1.0
Requires (Dev)
- lum/lum-test: ^3.0
This package is auto-updated.
Last update: 2025-02-22 22:28:40 UTC
README
Summary
Implements a bunch of magic data objects that I've been using for a long time as they were designed to convert between various serialization formats mostly transparently.
Namespace
Lum\Data
Classes
Name | Description |
---|---|
Lum\Data\O | A very minimal base class for data objects. |
Lum\Data\Obj | Default base class with most traits added. |
Lum\Data\Arrayish | An extension of Obj using Arraylike trait. |
Lum\Data\Container | An extension of Arrayish with indexed children. |
Traits
Name | Description |
---|---|
Lum\Data\Arraylike | A trait for array-like data objects. |
Lum\Data\DetectType | A trait with helpers for detecting input type. |
Lum\Data\JSON | A trait for objects with JSON representations. |
Lum\Data\BuildXML | A trait with helpers for building XML data. |
Lum\Data\InputXML | A trait for data objects that can import XML. |
Lum\Data\OutputXML | A trait for data objects that can output XML. |
Official URLs
This library can be found in two places:
Authors
- Timothy Totten