Skip to content

Generate method from offset #57

Closed
Closed

Description

@dantleech

e.g. given that testMethod does not exist:

$rabbit = new Rabbit();
$rabbit->thump(Times::fromInt(12));

will generate the Thump method in Rabbit with the correct method signature.

Activity

  1. dantleech commented on Aug 9, 2017

    @dantleech
    CollaboratorAuthor

    Requires either WR to expose the raw parser nodes, or for WR to support reflecting a subset of in-frame nodes.

  2. dantleech commented on Aug 9, 2017

    @dantleech
    CollaboratorAuthor

    Closing in favour of #91 which effectively would do the same thing but more generically.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions