code: public function getBaseCookieValue($name, $base)
      {
          if (! $base) {
              return;
          }
  
          return $this->getCookieValue($base->getHost(), $base->getPath(), $name);
      }
docs: 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.