Skip to content

Create ReflectionEnumUnitCase class #184

@devin-ai-integration

Description

@devin-ai-integration

Part of #182

Create src/ReflectionEnumUnitCase.php that extends \ReflectionEnumUnitCase:

  1. Wraps an EnumCase AST node
  2. Implements getEnum(): ReflectionEnum — returns the parent enum reflection
  3. Implements getValue(): UnitEnum — this requires loading the class (similar to how __initialize() works in other reflection classes)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions