Yoast\WP\SEO\Task_List\User_Interface\Tasks
Complete_Task_Route::__construct
The constructor.
Метод класса: Complete_Task_Route{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$Complete_Task_Route = new Complete_Task_Route(); $Complete_Task_Route->__construct( $tasks_collector, $capability_helper, $action_tracker );
- $tasks_collector(Tasks_Collector) (обязательный)
- The collector for all tasks.
- $capability_helper(Capability_Helper) (обязательный)
- The capability helper.
- $action_tracker(Action_Tracker) (обязательный)
- The action tracker.
Код Complete_Task_Route::__construct() Complete Task Route:: construct Yoast 28.3
public function __construct(
Tasks_Collector $tasks_collector,
Capability_Helper $capability_helper,
Action_Tracker $action_tracker
) {
$this->tasks_collector = $tasks_collector;
$this->capability_helper = $capability_helper;
$this->action_tracker = $action_tracker;
}