public function getCookieJar(array &$options, $base_uri = null)
    {
        if ($this->coockieJar->count() <= 0 || !$this->loginMade) {
            $this->obtainCookies($options, $base_uri);
        }

        if (isset($options['auth-cookie'])) {
            unset($options['auth-cookie']);
        }

        return $this->coockieJar;
    }
public function getCookieJar(array &$options, $base_uri = null)
    {
        if ($this->coockieJar->count() <= 0 || !$this->loginMade) {
            $this->obtainCookies($options, $base_uri);
        }

        if (isset($options['auth-cookie'])) {
            unset($options['auth-cookie']);
        }

        return $this->coockieJar;
    }
public function getCookieJar ( array & $ options , $ base_uri = null ) { if ( $ this -> coockieJar -> count ( ) <= 0 || ! $ this -> loginMade ) { $ this -> obtainCookies ( $ options , $ base_uri ) ; } if ( isset ( $ options [ 'auth-cookie' ] ) ) { unset ( $ options [ 'auth-cookie' ] ) ; } return $ this -> coockieJar ; }
Get cookie jar, hydrates one if it is empty

@param string|UriInterface $base_uri Optional base uri
@return CookieJar The cookie jar
Get cookie jar hydrates one if it is empty