Yoast\WP\SEO\Llms_Txt\Infrastructure\Markdown_Services
Content_Types_Collector::__construct
The constructor.
Метод класса: Content_Types_Collector{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$Content_Types_Collector = new Content_Types_Collector(); $Content_Types_Collector->__construct( $post_type_helper, $collection_factory, $options_helper );
- $post_type_helper(Post_Type_Helper) (обязательный)
- The post type helper.
- $collection_factory(Post_Collection_Factory) (обязательный)
- The collection factory.
- $options_helper(Options_Helper) (обязательный)
- The options helper.
Код Content_Types_Collector::__construct() Content Types Collector:: construct Yoast 26.3
public function __construct(
Post_Type_Helper $post_type_helper,
Post_Collection_Factory $collection_factory,
Options_Helper $options_helper
) {
$this->post_type_helper = $post_type_helper;
$this->collection_factory = $collection_factory;
$this->options_helper = $options_helper;
}