mikehaertl\wkhtmlto\Command::getExecCommand PHP Method

getExecCommand() public method

public getExecCommand ( ) : string | boolean
return string | boolean the command to execute with optional Xfvb wrapper applied. Null if none set.
    public function getExecCommand()
    {
        $command = parent::getExecCommand();
        if ($this->enableXvfb) {
            return $this->xvfbRunBinary . ' ' . $this->xvfbRunOptions . ' ' . $command;
        }
        return $command;
    }