Skip to content

Commands should be modified in order to support other frameworks #330

Description

@TheCelavi

Commands:

  • debug:advisor
  • debug:aspect
  • cache:warmup:aop

are extremely useful, but they are not exposed, per example, in Go Aop Symfony bundle.

This ought to be corrected, and it can be done with ease. Class Go\Console\Command\BaseAspectCommand should be modified, execute() method body should go to some protected method in order to allow modification of it. That method is only in charge to get Apsect Kernel, and in Symfony, per example, Aspect Kernel can be acquired differently.

After that, it is required for each framework to bridge usage of those commands.

This is easy pick, I can fix core, and provide Symfony bridge.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    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