Yoast\WP\SEO\Builders
Indexable_Author_Builder::__construct
Indexable_Author_Builder constructor.
Метод класса: Indexable_Author_Builder{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$Indexable_Author_Builder = new Indexable_Author_Builder(); $Indexable_Author_Builder->__construct( $author_archive, $versions, $options_helper, $post_helper );
- $author_archive(Author_Archive_Helper) (обязательный)
- The author archive helper.
- $versions(Indexable_Builder_Versions) (обязательный)
- The Indexable version manager.
- $options_helper(Options_Helper) (обязательный)
- The options helper.
- $post_helper(Post_Helper) (обязательный)
- The post helper.
Код Indexable_Author_Builder::__construct() Indexable Author Builder:: construct Yoast 28.1
public function __construct(
Author_Archive_Helper $author_archive,
Indexable_Builder_Versions $versions,
Options_Helper $options_helper,
Post_Helper $post_helper
) {
$this->author_archive = $author_archive;
$this->version = $versions->get_latest_version_for_type( 'user' );
$this->options_helper = $options_helper;
$this->post_helper = $post_helper;
}