/** * Resolve future with execution result * * @param ExecutionResult $executionResult */ public function resolve($executionResult) { $executionResult = $this->command->prepareExecutionResult($executionResult); $this->result = $executionResult; $this->executed = true; }