Symfony\Component\DomCrawler\Crawler::parents
Returns the parents nodes of the current selection
Signature
public function parents()
Returns
- Crawler
- A Crawler instance with the parents nodes of the current selection
Errors/Exceptions
-
InvalidArgumentException
- When current node is empty