Goutte icon indicating copy to clipboard operation
Goutte copied to clipboard

Docs: Where is filter() defined?

Open WeeSee opened this issue 4 years ago • 1 comments

I struggle to find the code and the API docs for filter(). I am looking for the documentation and/or the function definition and the code.

I cannot find it in this repo nor in the Symphony Docs of Http Client.

Where do I have to look for?

WeeSee avatar Jan 29 '21 20:01 WeeSee

Goutte is an implementation of the BrowserKit component, not of the HttpClient component. And BrowserKit returns Crawler objects from the DomCrawler component, which is probably where the filter method you are looking at comes from (there is such a method in Crawler but there is not enough info in your ticket to be sure that's what you are talking about).

stof avatar Feb 02 '21 09:02 stof