Yoast\WP\SEO\Generators

Twitter_Image_Generator::__construct()publicYoast 1.0

Twitter_Image_Generator constructor.

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

Хуков нет.

Возвращает

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

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

$Twitter_Image_Generator = new Twitter_Image_Generator();
$Twitter_Image_Generator->__construct( $image, $url, $twitter_image );
$image(Image_Helper) (обязательный)
The image helper.
$url(Url_Helper) (обязательный)
The url helper.
$twitter_image(Twitter_Image_Helper) (обязательный)
The Twitter image helper.

Код Twitter_Image_Generator::__construct() Yoast 23.5

public function __construct( Image_Helper $image, Url_Helper $url, Twitter_Image_Helper $twitter_image ) {
	$this->image         = $image;
	$this->url           = $url;
	$this->twitter_image = $twitter_image;
}