Yoast\WP\SEO\Expiring_Store\Application

Expiring_Store::__constructpublicYoast 1.0

The constructor.

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

Хуков нет.

Возвращает

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

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

$Expiring_Store = new Expiring_Store();
$Expiring_Store->__construct( $repository, $date_helper );
$repository(Expiring_Store_Repository_Interface) (обязательный)
The repository for database operations.
$date_helper(Date_Helper) (обязательный)
The date helper.

Код Expiring_Store::__construct() Yoast 27.8

public function __construct( Expiring_Store_Repository_Interface $repository, Date_Helper $date_helper ) {
	$this->repository  = $repository;
	$this->date_helper = $date_helper;
}