Skip to content

Clean up command classes #4225

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.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions