public function getList()
    {
        $list = new \BearFramework\DataList();
        foreach ($this->data as $cookie) {
            $list[] = clone($cookie);
        }
        return $list;
    }
public function getList()
    {
        $list = new \BearFramework\DataList();
        foreach ($this->data as $cookie) {
            $list[] = clone($cookie);
        }
        return $list;
    }
public function getList ( ) { $ list = new \ BearFramework \ DataList ( ) ; foreach ( $ this -> data as $ cookie ) { $ list [ ] = clone ( $ cookie ) ; } return $ list ; }
Returns a list of all cookies.

@return \BearFramework\DataList|\BearFramework\App\Response\Cookie[] An array containing all cookies.
Returns a list of all cookies .