public function __invoke($commandOrQuery) { $this->outcome->reset(); $this->outcome->returned = $this->application->handle($commandOrQuery); }