Skip to content

Add CommandInterface

Created by: Arcesilas

This PR adds CommandInterface, implemented by the default Command class.

This allows users to define their own commands, with their own creation process and handler implementation. It does not introduce any BC break. The methods of the interface are the ones used in the package code. __construct and create have been deliberately omitted, since they depend on the implementation, just like setters.

Merge request reports