Versatile Dynamic/Hybrid class generator library which can used when existing classes or objects that need to be evolved at a runtime.
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., (*1)
composer require bagf/dynamic
@todo More documentation, (*2)
$profile = \Bagf\Dynamic\Builder::fromInstance($profile) ->implement(SendInvitation::class) ->shareTrait(InviteUsers::class) ->instance();
Sources Download
Unlicense