8000 [DomCrawler] Inherit the namespace cache in subcrawlers by stof · Pull Request #19422 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[DomCrawler] Inherit the namespace cache in subcrawlers #19422

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 25, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
8000
Diff view
Diff view
[DomCrawler] Inherit the namespace cache in subcrawlers
  • Loading branch information
stof committed Jul 25, 2016
commit e89c758a76a475a44f579b874636f4dc0f1611db
1 change: 1 addition & 0 deletions src/Symfony/Component/DomCrawler/Crawler.php
5A10
Original file line number Diff line number Diff line change
Expand Up @@ -1151,6 +1151,7 @@ private function createSubCrawler($nodes)
$crawler = new static($nodes, $this->uri, $this->baseHref);
$crawler->isHtml = $this->isHtml;
$crawler->document = $this->document;
$crawler->namespaces = $this->namespaces;

return $crawler;
}
Expand Down
0