public parserHiddenValue ( type $body ) : type | ||
$body | type | |
return | type |
public function parserHiddenValue($body)
{
$crawler = new Crawler((string) $body);
return $crawler->filterXPath('//*[@id="form1"]/input')->attr('value');
}