byrokrat / giroapp

Command line app for managing autogiro donations.
GNU General Public License v3.0
4 stars 2 forks source link

Refactor CommandWrapper to pull command objects from the DIC #47

Closed hanneskod closed 7 years ago

hanneskod commented 7 years ago
public static function configure(Command $command);
$app->add(new CommandWrapper(AddCommand::CLASS));

Then we can actually write specs for commands...

hanneskod commented 7 years ago

If we succeed in making the container pre-compiled it should be fetched before CommandWrapper.. think on this, good container handling is really important...