src/Services/SilentResponse.php
protected function runString($callable, array $arguments)
    {
        if (! function_exists($callable)) {
            throw new FunctionNotFoundException("Function $callable not found");
        }

        $this->startBuffer();

        $this->return = call_user_func_array($callable, $arguments);

        $this->endBuffer();

        return $this;
    }
protected function runString($callable, array $arguments)
    {
        if (! function_exists($callable)) {
            throw new FunctionNotFoundException("Function $callable not found");
        }

        $this->startBuffer();

        $this->return = call_user_func_array($callable, $arguments);

        $this->endBuffer();

        return $this;
    }
Runs a user function.

@param string $callable Function name.
@param array $arguments Arguments to pass to the user function.
@return $this
@throws \StatonLab\TripalTestSuite\Exceptions\FunctionNotFoundException