scaleplan/init-trait

There is no license information available for the latest version (dev-master) of this package.

Trait for initialization static and object properties via settings array

dev-master 2020-11-16 11:25 UTC

This package is auto-updated.

Last update: 2024-04-16 18:54:02 UTC


README

The initialization of objects and classes.

Installation

composer reqire scaleplan/inittrait

Description

Simplifies the mass assignment of the values ​​of the transferred array of settings to the same properties of the class/object. If this is for a property that has a setter, then it uses it to assign a value.


Documentation