array
extract(array $attributes)
Extracts information from the list of nodes. You can extract attributes or/and the node value (_text). Example: $crawler->filter('h1 a')->extract(array('_text', 'href'));
Parameters array $attributes An array of attributes Return Value array An array of extracted values