netherphp/object

Self-Sealing Stem Object

v4.1.8 2021-10-06 23:08 UTC

README

Build Status Packagist Packagist

This package provides base classes with basic utility.

Class Overview

Nether\Object\Prototype

The Prototype Object is a self-sealing stem object capable of remapping schemas and ensuring that properties exist with default values if needed. Using this class as the parent enables the attribute based functionality all the way down.

Nether\Object\Datastore

Provides an array-like object so that items can be stored like arrays but manipulated with chainable methods.

Deprecated

These are old things that still exist but are no longer preferred to be used.

Nether\Object\Mapped (deprecated)

Replaced during PHP 8 the Mapped provides similiar functionality as Prototype in regards to filling properties and remapping schemas.