Yoast\WP\SEO\Expiring_Store\Application
Expiring_Store::__construct
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() 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;
}