Yoast\WP\SEO\Introductions\User_Interface
Introductions_Seen_Route::__construct
Constructs the class.
Метод класса: Introductions_Seen_Route{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$Introductions_Seen_Route = new Introductions_Seen_Route(); $Introductions_Seen_Route->__construct( $introductions_seen_repository, $user_helper, $introductions_collector );
- $introductions_seen_repository(Introductions_Seen_Repository) (обязательный)
- The repository.
- $user_helper(User_Helper) (обязательный)
- The user helper.
- $introductions_collector(Introductions_Collector) (обязательный)
- The introduction collector.
Код Introductions_Seen_Route::__construct() Introductions Seen Route:: construct Yoast 27.4
public function __construct(
Introductions_Seen_Repository $introductions_seen_repository,
User_Helper $user_helper,
Introductions_Collector $introductions_collector
) {
$this->introductions_seen_repository = $introductions_seen_repository;
$this->user_helper = $user_helper;
$this->introductions_collector = $introductions_collector;
}