/** * @inheritdoc */ public function extract(UrlInterface $url, $html) { // Pattern already set if ($this->getPattern()) { return $this; } return parent::extract($url, $html); }