Yoast\WP\SEO\Surfaces

Helpers_Surface::__constructpublicYoast 1.0

Loader constructor.

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

Хуков нет.

Возвращает

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

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

$Helpers_Surface = new Helpers_Surface();
$Helpers_Surface->__construct( $container, $open_graph, $schema, $twitter );
$container(ContainerInterface) (обязательный)
The dependency injection container.
$open_graph(Open_Graph_Helpers_Surface) (обязательный)
The OpenGraph helpers surface.
$schema(Schema_Helpers_Surface) (обязательный)
The Schema helpers surface.
$twitter(Twitter_Helpers_Surface) (обязательный)
The Twitter helpers surface.

Код Helpers_Surface::__construct() Yoast 27.4

public function __construct(
	ContainerInterface $container,
	Open_Graph_Helpers_Surface $open_graph,
	Schema_Helpers_Surface $schema,
	Twitter_Helpers_Surface $twitter
) {
	$this->container  = $container;
	$this->open_graph = $open_graph;
	$this->schema     = $schema;
	$this->twitter    = $twitter;
}