user_agent.php
public function getBaseCookieValue($name, $base)
    {
        if (! $base) {
            return;
        }

        return $this->getCookieValue($base->getHost(), $base->getPath(), $name);
    }
public function getBaseCookieValue($name, $base)
    {
        if (! $base) {
            return;
        }

        return $this->getCookieValue($base->getHost(), $base->getPath(), $name);
    }
Reads the current cookies within the base URL.

@param string $name     Key of cookie to find.
@param SimpleUrl $base  Base URL to search from.

@return string/boolean  Null if there is no base URL, false if the cookie is not set.