Symfony\Component\DomCrawler\Crawler::text
Returns the node value of the first node of the list.
Signature
public function text()
Returns
- string
- The node value
Errors/Exceptions
-
InvalidArgumentException
- When current node is empty