Yoast\WP\SEO\Llms_Txt\Infrastructure\Content
Manual_Post_Collection::__construct
Constructor.
Метод класса: Manual_Post_Collection{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$Manual_Post_Collection = new Manual_Post_Collection(); $Manual_Post_Collection->__construct( $options_helper, $indexable_helper, $indexable_repository, $meta );
- $options_helper(Options_Helper) (обязательный)
- The options helper.
- $indexable_helper(Indexable_Helper) (обязательный)
- The indexable helper.
- $indexable_repository(Indexable_Repository) (обязательный)
- The indexable repository.
- $meta(Meta_Surface) (обязательный)
- The meta surface.
Код Manual_Post_Collection::__construct() Manual Post Collection:: construct Yoast 28.9
public function __construct(
Options_Helper $options_helper,
Indexable_Helper $indexable_helper,
Indexable_Repository $indexable_repository,
Meta_Surface $meta
) {
$this->options_helper = $options_helper;
$this->indexable_helper = $indexable_helper;
$this->indexable_repository = $indexable_repository;
$this->meta = $meta;
}