Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Public Member Functions
TasksProvider Class Reference
Inheritance diagram for TasksProvider:
TasksProviderInterface

Public Member Functions

 __construct (array $tasks=[])
 
 getTasks ()
 

Detailed Description

TasksProvider collects list of tasks

Definition at line 11 of file TasksProvider.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( array  $tasks = [])
Parameters
array$tasks

Definition at line 21 of file TasksProvider.php.

22  {
23  $this->tasks = $tasks;
24  }

Member Function Documentation

◆ getTasks()

getTasks ( )

{Get list of tasks

Returns
array
}

Implements TasksProviderInterface.

Definition at line 29 of file TasksProvider.php.

30  {
31  return $this->tasks;
32  }

The documentation for this class was generated from the following file: