Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for components type literals #8

Merged
merged 4 commits into from
Oct 1, 2023
Merged

Conversation

thekid
Copy link
Contributor

@thekid thekid commented Oct 1, 2023

  • Rewrite new T(...) -> $T->newInstance(...) if T is a component
  • Rewrite ... instanceof T -> $T->isInstance(...) if T is a component
  • Rewrite T::class to $T->literal() if T is a component

@thekid thekid changed the title Add support for instantiating components Add support for components type literals Oct 1, 2023
@thekid thekid merged commit 2ac37e1 into main Oct 1, 2023
18 checks passed
@thekid thekid deleted the feature/new-component branch October 1, 2023 07:34
@thekid
Copy link
Contributor Author

thekid commented Oct 1, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant