Yoast\WP\SEO\AI\Content_Planner\User_Interface
Content_Planner_Integration::__construct
Constructs the class.
Метод класса: Content_Planner_Integration{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$Content_Planner_Integration = new Content_Planner_Integration(); $Content_Planner_Integration->__construct( $asset_manager, $endpoints_repository, $indexable_repository, $user_helper );
- $asset_manager(WPSEO_Admin_Asset_Manager) (обязательный)
- The admin asset manager.
- $endpoints_repository(Content_Planner_Endpoints_Repository) (обязательный)
- The endpoints repository.
- $indexable_repository(Indexable_Repository) (обязательный)
- The indexable repository.
- $user_helper(User_Helper) (обязательный)
- The user helper.
Код Content_Planner_Integration::__construct() Content Planner Integration:: construct Yoast 27.7
public function __construct(
WPSEO_Admin_Asset_Manager $asset_manager,
Content_Planner_Endpoints_Repository $endpoints_repository,
Indexable_Repository $indexable_repository,
User_Helper $user_helper
) {
$this->asset_manager = $asset_manager;
$this->endpoints_repository = $endpoints_repository;
$this->indexable_repository = $indexable_repository;
$this->user_helper = $user_helper;
}