Scientist\Machine::executeCallback PHP Method

executeCallback() protected method

Execute the callback with parameters.
protected executeCallback ( ) : void
return void
    protected function executeCallback()
    {
        if ($this->muted) {
            return $this->executeMutedCallback();
        }
        $this->result->setValue(call_user_func_array($this->callback, $this->params));
    }