Documentation

DataObject
in package
implements ConfigurableInterface uses UpdateTrait

AbstractYes

The simplest object.

It's to encourage stronger typing for blobs of data moving within a system. This particular base object has no additional magics.

There's no array access, serialization, validations, or magic fields. Just data.

For more a magical base object Collection.

Table of Contents

Interfaces

ConfigurableInterface
This class is 'configurable' - it has an `update()` method that accepts iterables.

Methods

__construct()  : mixed
update()  : void

Methods

__construct()

public __construct([iterable<string|int, mixed> $config = [] ]) : mixed
Parameters
$config : iterable<string|int, mixed> = []

update()

public update(iterable<string|int, mixed> $config) : void
Parameters
$config : iterable<string|int, mixed>
On this page

Search results