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
Requires
- php: >=7.0
This package is auto-updated.
Last update: 2025-03-16 20:52:20 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.