Yoast\WP\SEO\Schema_Aggregator\User_Interface
Site_Schema_Aggregator_Route::__construct
Site_Schema_Aggregator_Route constructor.
Метод класса: Site_Schema_Aggregator_Route{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$Site_Schema_Aggregator_Route = new Site_Schema_Aggregator_Route(); $Site_Schema_Aggregator_Route->__construct( $config, $capability_helper, $aggregate_site_schema_command_handler, $cache_manager, $post_type_helper );
- $config(Config) (обязательный)
- The config object.
- $capability_helper(Capability_Helper) (обязательный)
- The capability helper.
- $aggregate_site_schema_command_handler(Aggregate_Site_Schema_Command_Handler) (обязательный)
- The command handler.
- $cache_manager(Manager) (обязательный)
- The cache manager.
- $post_type_helper(Post_Type_Helper) (обязательный)
- The post type helper.
Код Site_Schema_Aggregator_Route::__construct() Site Schema Aggregator Route:: construct Yoast 27.7
public function __construct(
Config $config,
Capability_Helper $capability_helper,
Aggregate_Site_Schema_Command_Handler $aggregate_site_schema_command_handler,
Manager $cache_manager,
Post_Type_Helper $post_type_helper
) {
$this->config = $config;
$this->capability_helper = $capability_helper;
$this->aggregate_site_schema_command_handler = $aggregate_site_schema_command_handler;
$this->cache_manager = $cache_manager;
$this->post_type_helper = $post_type_helper;
}