seregazhuk\PinterestBot\Api\CurlHttpClient::initCookieJar PHP Method

initCookieJar() protected method

Init cookie file for a specified username. If username is empty we use common cookie file for all sessions. If file does not exist it will be created in system temp directory.
protected initCookieJar ( $username = '' )
$username
    protected function initCookieJar($username = '')
    {
        $this->cookieJar = $this->initCookieFile($username);
        return $this;
    }