Skip to content
This repository has been archived by the owner on Apr 1, 2023. It is now read-only.

Docs: Where is filter() defined? #435

Open
WeeSee opened this issue Jan 29, 2021 · 1 comment
Open

Docs: Where is filter() defined? #435

WeeSee opened this issue Jan 29, 2021 · 1 comment

Comments

@WeeSee
Copy link

WeeSee commented Jan 29, 2021

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?

@stof
Copy link
Member

stof commented Feb 2, 2021

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).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants