Yoast\WP\SEO\Dashboard\Application\Configuration
Dashboard_Configuration::__construct
The constructor.
Метод класса: Dashboard_Configuration{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$Dashboard_Configuration = new Dashboard_Configuration(); $Dashboard_Configuration->__construct( $content_types_repository, $indexable_helper, $user_helper, $enabled_analysis_features_repository, $endpoints_repository, $nonce_repository, $site_kit_integration_data, $setup_steps_tracking, $browser_cache_configuration );
- $content_types_repository(Content_Types_Repository) (обязательный)
- The content types repository.
- $indexable_helper(Indexable_Helper) (обязательный)
- The indexable helper repository.
- $user_helper(User_Helper) (обязательный)
- The user helper.
- $enabled_analysis_features_repository(Enabled_Analysis_Features_Repository) (обязательный)
- The analysis feature. repository.
- $endpoints_repository(Endpoints_Repository) (обязательный)
- The endpoints repository.
- $nonce_repository(Nonce_Repository) (обязательный)
- The nonce repository.
- $site_kit_integration_data(Site_Kit) (обязательный)
- The Site Kit integration data.
- $setup_steps_tracking(Setup_Steps_Tracking) (обязательный)
- The setup steps tracking data.
- $browser_cache_configuration(Browser_Cache_Configuration) (обязательный)
- The browser cache configuration.
Код Dashboard_Configuration::__construct() Dashboard Configuration:: construct Yoast 28.0
public function __construct(
Content_Types_Repository $content_types_repository,
Indexable_Helper $indexable_helper,
User_Helper $user_helper,
Enabled_Analysis_Features_Repository $enabled_analysis_features_repository,
Endpoints_Repository $endpoints_repository,
Nonce_Repository $nonce_repository,
Site_Kit $site_kit_integration_data,
Setup_Steps_Tracking $setup_steps_tracking,
Browser_Cache_Configuration $browser_cache_configuration
) {
$this->content_types_repository = $content_types_repository;
$this->indexable_helper = $indexable_helper;
$this->user_helper = $user_helper;
$this->enabled_analysis_features_repository = $enabled_analysis_features_repository;
$this->endpoints_repository = $endpoints_repository;
$this->nonce_repository = $nonce_repository;
$this->site_kit_integration_data = $site_kit_integration_data;
$this->setup_steps_tracking = $setup_steps_tracking;
$this->browser_cache_configuration = $browser_cache_configuration;
}