Yoast\WP\SEO\Surfaces
Meta_Surface::__construct
Meta_Surface constructor.
Метод класса: Meta_Surface{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$Meta_Surface = new Meta_Surface(); $Meta_Surface->__construct( $container, $context_memoizer, $indexable_repository, $wp_rewrite_wrapper, $indexable_helper );
- $container(ContainerInterface) (обязательный)
- The DI container.
- $context_memoizer(Meta_Tags_Context_Memoizer) (обязательный)
- The meta tags context memoizer.
- $indexable_repository(Indexable_Repository) (обязательный)
- The indexable repository.
- $wp_rewrite_wrapper(WP_Rewrite_Wrapper) (обязательный)
- The WP rewrite wrapper.
- $indexable_helper(Indexable_Helper) (обязательный)
- The indexable helper.
Код Meta_Surface::__construct() Meta Surface:: construct Yoast 26.3
public function __construct(
ContainerInterface $container,
Meta_Tags_Context_Memoizer $context_memoizer,
Indexable_Repository $indexable_repository,
WP_Rewrite_Wrapper $wp_rewrite_wrapper,
Indexable_Helper $indexable_helper
) {
$this->container = $container;
$this->context_memoizer = $context_memoizer;
$this->repository = $indexable_repository;
$this->wp_rewrite_wrapper = $wp_rewrite_wrapper;
$this->indexable_helper = $indexable_helper;
}