"a", "attr" => "href"], array $tagdatas = []): array { $crawler->filter($options["tag"])->each( function (Crawler $node) use (&$tagdatas, &$options): void { log_message("debug", sprintf("getTagDatas-> %s:%s", $options["tag"], $node->attr($options["attr"]))); $tagdatas[] = $node->attr($options["attr"]); } ); return $tagdatas; } }