| @@ 53-60 (lines=8) @@ | ||
| 50 | */ |
|
| 51 | private $toggl; |
|
| 52 | ||
| 53 | public function __construct() |
|
| 54 | { |
|
| 55 | $this->config = new Config(getenv('alfred_workflow_data') . '/config.json'); |
|
| 56 | ||
| 57 | $this->harvest = new Harvest($this->config->get('harvest', 'domain'), $this->config->get('harvest', 'api_token')); |
|
| 58 | $this->toggl = new Toggl($this->config->get('toggl', 'api_token')); |
|
| 59 | $this->message = ''; |
|
| 60 | } |
|
| 61 | ||
| 62 | /** |
|
| 63 | * @return mixed |
|
| @@ 53-60 (lines=8) @@ | ||
| 50 | */ |
|
| 51 | private $toggl; |
|
| 52 | ||
| 53 | public function __construct() |
|
| 54 | { |
|
| 55 | $this->config = new Config(getenv('alfred_workflow_data') . '/config.json'); |
|
| 56 | ||
| 57 | $this->harvest = new Harvest($this->config->get('harvest', 'domain'), $this->config->get('harvest', 'api_token')); |
|
| 58 | $this->toggl = new Toggl($this->config->get('toggl', 'api_token')); |
|
| 59 | $this->message = ''; |
|
| 60 | } |
|
| 61 | ||
| 62 | /** |
|
| 63 | * @return mixed |
|