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