Yoast\WP\SEO\Abilities\Infrastructure
Site_Representation_Field_Validators::__construct
Constructor.
Метод класса: Site_Representation_Field_Validators{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$Site_Representation_Field_Validators = new Site_Representation_Field_Validators(); $Site_Representation_Field_Validators->__construct( $local_seo_active_conditional, $image_helper, $options_helper );
- $local_seo_active_conditional(Local_SEO_Active_Conditional) (обязательный)
- The Local SEO active conditional.
- $image_helper(Image_Helper) (обязательный)
- The image helper.
- $options_helper(Options_Helper) (обязательный)
- The options helper.
Код Site_Representation_Field_Validators::__construct() Site Representation Field Validators:: construct Yoast 28.8
public function __construct(
Local_SEO_Active_Conditional $local_seo_active_conditional,
Image_Helper $image_helper,
Options_Helper $options_helper
) {
$this->local_seo_active_conditional = $local_seo_active_conditional;
$this->image_helper = $image_helper;
$this->options_helper = $options_helper;
}