hookContainer = $hookContainer; } /** * @inheritDoc */ public function onTemplateStylesPropertySanitizer( StylePropertySanitizer &$propertySanitizer, MatcherFactory $matcherFactory ) { return $this->hookContainer->run( 'TemplateStylesPropertySanitizer', [ &$propertySanitizer, $matcherFactory ] ); } /** * @inheritDoc */ public function onTemplateStylesStylesheetSanitizer( StylesheetSanitizer &$sanitizer, StylePropertySanitizer $propertySanitizer, MatcherFactory $matcherFactory ) { return $this->hookContainer->run( 'TemplateStylesStylesheetSanitizer', [ &$sanitizer, $propertySanitizer, $matcherFactory ] ); } }