Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 483 Bytes

README.md

File metadata and controls

18 lines (14 loc) · 483 Bytes

Dynamic Library

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();