user_agent.php
public function getCookies()
    {
        $lstCookies = $this->cookie_jar->getCookies();
        $aCookies = [];
        foreach($lstCookies as $oCookies) {
            $aCookies[] = [
                'name'=>$oCookies->getName(),
                'value'=>$oCookies->getValue(),
                'host'=>$oCookies->getHost(),
                'path'=>$oCookies->getPath(),
                'expiry'=>$oCookies->getExpiry(),
            ];
        }
        return $aCookies;
    }
public function getCookies()
    {
        $lstCookies = $this->cookie_jar->getCookies();
        $aCookies = [];
        foreach($lstCookies as $oCookies) {
            $aCookies[] = [
                'name'=>$oCookies->getName(),
                'value'=>$oCookies->getValue(),
                'host'=>$oCookies->getHost(),
                'path'=>$oCookies->getPath(),
                'expiry'=>$oCookies->getExpiry(),
            ];
        }
        return $aCookies;
    }
Get current list of cookies
@access public
@return array