You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
388 B
PHP
17 lines
388 B
PHP
<?php
|
|
|
|
namespace Controllers\Statuses;
|
|
|
|
|
|
use BusinessLogic\Statuses\StatusRetriever;
|
|
|
|
class StatusController {
|
|
function get() {
|
|
global $applicationContext, $hesk_settings;
|
|
|
|
/* @var $statusRetriever StatusRetriever */
|
|
$statusRetriever = $applicationContext->get(StatusRetriever::class);
|
|
|
|
output($statusRetriever->getAllStatuses($hesk_settings));
|
|
}
|
|
} |