protected _extractMetas ( string $html ) : array | ||
$html | string | HTML. |
Результат | array | Meta tags. |
protected function _extractMetas($html)
{
$Document = $this->_Dom->document($html);
return $Document->tags('meta', function ($Tag) {
return $Tag->matches($this->_metaAttribute, $this->_metaPattern);
});
}