public function getMatchingCookies(Cookie $cookie)
    {
        $match = function ($matchCookie) use ($cookie) {
            return $matchCookie->match($cookie);
        };

        return $this->findMatchingCookies($match);
    }
public function getMatchingCookies(Cookie $cookie)
    {
        $match = function ($matchCookie) use ($cookie) {
            return $matchCookie->match($cookie);
        };

        return $this->findMatchingCookies($match);
    }
public function getMatchingCookies ( Cookie $ cookie ) { $ match = function ( $ matchCookie ) use ( $ cookie ) { return $ matchCookie -> match ( $ cookie ) ; } ; return $ this -> findMatchingCookies ( $ match ) ; }
Returns all matching cookies.

@param Cookie $cookie

@return Cookie[]
Returns all matching cookies .