Skip to content

Implement Package::implementation() to load implementations of a given type#47

Merged
thekid merged 3 commits into
mainfrom
feature/implementation
Sep 14, 2025
Merged

Implement Package::implementation() to load implementations of a given type#47
thekid merged 3 commits into
mainfrom
feature/implementation

Conversation

@thekid

@thekid thekid commented Sep 14, 2025

Copy link
Copy Markdown
Member

Implements #15

use com\example\instructions\Instruction;
use lang\reflection\Package;

$package= new Package('com.example.instructions');
$impl= $package->implementation(Instruction::class, ucfirst($name).'Instruction');

@thekid thekid added the enhancement New feature or request label Sep 14, 2025
@thekid thekid merged commit a0550d2 into main Sep 14, 2025
14 checks passed
@thekid thekid deleted the feature/implementation branch September 14, 2025 07:59
@thekid

thekid commented Sep 14, 2025

Copy link
Copy Markdown
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant