bagf / dynamic
Versatile Dynamic/Hybrid class generator library which can used when existing classes or objects that need to be evolved at a runtime.
dev-master
2017-01-15 22:08 UTC
This package is not auto-updated.
Last update: 2026-03-01 05:36:28 UTC
README
Dynamic/Hybrid class generator library which can work in many situations. This library can implemented where existing classes or objects that need to be evolved at a runtime.
Installation
composer require bagf/dynamic
Example
@todo More documentation
$profile = \Bagf\Dynamic\Builder::fromInstance($profile) ->implement(SendInvitation::class) ->shareTrait(InviteUsers::class) ->instance();