Skip to content

Clean up command classes #4225

@ssddanbrown

Description

@ssddanbrown

Update our command classes to follow a common convention. Including:

  • Update to inject via the handle method (Advised approach in Laravel docs).
  • Standardise how response codes are returned (And ensure they are) (int vs SymfonyCommand::[SUCCESS/FAILURE]).
    • Laravel internal commands appear to just use ints, is probably the cleaner option.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions