Yoast\WP\SEO\Integrations\Watchers
Indexable_Post_Watcher::__construct() public Yoast 1.0
Indexable_Post_Watcher constructor.
{} Это метод класса: Indexable_Post_Watcher{}
Хуков нет.
Возвращает
Null. Ничего.
Использование
$Indexable_Post_Watcher = new Indexable_Post_Watcher(); $Indexable_Post_Watcher->__construct(;
- $repository(Indexable_Repository) (обязательный)
- The repository to use.
- $builder(Indexable_Builder) (обязательный)
- The post builder to use.
- $hierarchy_repository(Indexable_Hierarchy_Repository) (обязательный)
- The hierarchy repository to use.
- $link_builder(Indexable_Link_Builder) (обязательный)
- The link builder.
- $author_archive(Author_Archive_Helper) (обязательный)
- The author archive helper.
- $post(Post_Helper) (обязательный)
- The post helper.
- $logger(Logger) (обязательный)
- The logger.
Код Indexable_Post_Watcher::__construct() Indexable Post Watcher:: construct Yoast 15.6.2
public function __construct(
Indexable_Repository $repository,
Indexable_Builder $builder,
Indexable_Hierarchy_Repository $hierarchy_repository,
Indexable_Link_Builder $link_builder,
Author_Archive_Helper $author_archive,
Post_Helper $post,
Logger $logger
) {
$this->repository = $repository;
$this->builder = $builder;
$this->hierarchy_repository = $hierarchy_repository;
$this->link_builder = $link_builder;
$this->author_archive = $author_archive;
$this->post = $post;
$this->logger = $logger;
}