src/Translator.php
public function setShowUnpublished($showUnpublished)
    {
        if ($this->useCookies) {
            Cookie::queue($this->cookiePrefix . 'show_unpublished', $showUnpublished);
        }
        $this->useDB = $showUnpublished ? 2 : 1;
    }
public function setShowUnpublished($showUnpublished)
    {
        if ($this->useCookies) {
            Cookie::queue($this->cookiePrefix . 'show_unpublished', $showUnpublished);
        }
        $this->useDB = $showUnpublished ? 2 : 1;
    }
Set the default showUnpublished.

@param  string $showUnpublished

@return void