Skip to content

[Application] Extract interface #49

Closed

Description

@dantleech

Extract interface from a given class specifier or a glob:

$ phpactor class:extract:interface lib/Foobar.php lib/FoobarInterface.php

or

$ phpactor class:extract:interface lib/Foobar/* lib/Foobar/Api

Consider a way to transform names, e.g.:

$ phpactor class:extract:interface lib/Foobar/* lib/Foobar --transform="/^(.*+).php$/\1Interface.php"

Activity

  1. dantleech commented on Jul 18, 2017

    @dantleech
    CollaboratorAuthor

    This is implemented as class:inflect it does not support globs

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions