Yoast\WP\SEO\Task_List\User_Interface\Tasks

Get_Tasks_Route::__constructpublicYoast 1.0

The constructor.

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

Хуков нет.

Возвращает

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

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

$Get_Tasks_Route = new Get_Tasks_Route();
$Get_Tasks_Route->__construct( $tasks_repository, $capability_helper, $action_tracker );
$tasks_repository(Tasks_Repository) (обязательный)
The repository for all tasks.
$capability_helper(Capability_Helper) (обязательный)
The capability helper.
$action_tracker(Action_Tracker) (обязательный)
The action tracker.

Код Get_Tasks_Route::__construct() Yoast 27.7

public function __construct(
	Tasks_Repository $tasks_repository,
	Capability_Helper $capability_helper,
	Action_Tracker $action_tracker
) {
	$this->tasks_repository  = $tasks_repository;
	$this->capability_helper = $capability_helper;
	$this->action_tracker    = $action_tracker;
}