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.
20 lines
408 B
PHTML
20 lines
408 B
PHTML
7 years ago
|
<?php
|
||
|
|
||
|
namespace BusinessLogic\Statuses;
|
||
|
|
||
|
|
||
|
use DataAccess\Statuses\StatusGateway;
|
||
|
|
||
|
// TODO Test!
|
||
|
class StatusRetriever {
|
||
|
/* @var $statusGateway StatusGateway */
|
||
|
private $statusGateway;
|
||
|
|
||
|
function __construct($statusGateway) {
|
||
|
$this->statusGateway = $statusGateway;
|
||
|
}
|
||
|
|
||
|
function getAllStatuses($heskSettings) {
|
||
|
return $this->statusGateway->getStatuses($heskSettings);
|
||
|
}
|
||
|
}
|