bagf / dynamic
Versatile Dynamic/Hybrid class generator library which can used when existing classes or objects that need to be evolved at a runtime.
Installs: 10 493
Dependents: 1
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
This package is not auto-updated.
Last update: 2024-11-09 23:33:25 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();