Skip to content

Reflection: support member constructors#313

Merged
janedbal merged 4 commits intomasterfrom
support-reflection-member-constructors
Mar 9, 2026
Merged

Reflection: support member constructors#313
janedbal merged 4 commits intomasterfrom
support-reflection-member-constructors

Conversation

@janedbal
Copy link
Copy Markdown
Member

@janedbal janedbal commented Mar 6, 2026

Detect member usages via:

  • new ReflectionMethod(Class, 'method') and old new ReflectionMethod('Class::method')
  • ReflectionMethod::createFromMethodName('Class::method')
  • new ReflectionProperty(Class, 'prop')
  • new ReflectionClassConstant(Class, 'CONST')
  • new ReflectionEnumUnitCase(Enum, 'Case')
  • new ReflectionEnumBackedCase(Enum, 'Case')

janedbal added 2 commits March 6, 2026 17:31
…reateFromMethodName

Detect member usages via:
- new ReflectionMethod(Class, 'method') and new ReflectionMethod('Class::method')
- ReflectionMethod::createFromMethodName('Class::method')
- new ReflectionProperty(Class, 'prop')
- new ReflectionClassConstant(Class, 'CONST')
- new ReflectionEnumUnitCase(Enum, 'Case')
- new ReflectionEnumBackedCase(Enum, 'Case')
@janedbal janedbal marked this pull request as ready for review March 9, 2026 10:42
@janedbal janedbal changed the title Support direct reflection member constructors and ReflectionMethod::createFromMethodName Reflection: support member constructors Mar 9, 2026
@janedbal janedbal merged commit bd029a4 into master Mar 9, 2026
38 of 40 checks passed
@janedbal janedbal deleted the support-reflection-member-constructors branch March 9, 2026 10:56
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