Yoast\WP\SEO\Llms_Txt\Infrastructure\Content

Post_Collection_Factory::__constructpublicYoast 1.0

Constructor.

Метод класса: Post_Collection_Factory{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$Post_Collection_Factory = new Post_Collection_Factory();
$Post_Collection_Factory->__construct( $manual_post_collection, $automatic_post_collection );
$manual_post_collection(Manual_Post_Collection) (обязательный)
The manual post collection.
$automatic_post_collection(Automatic_Post_Collection) (обязательный)
The automatic post collection.

Код Post_Collection_Factory::__construct() Yoast 28.4

public function __construct( Manual_Post_Collection $manual_post_collection, Automatic_Post_Collection $automatic_post_collection ) {
	$this->manual_post_collection    = $manual_post_collection;
	$this->automatic_post_collection = $automatic_post_collection;
}