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.
21 lines
430 B
PHP
21 lines
430 B
PHP
<?php
|
|
|
|
namespace BusinessLogic\Tickets;
|
|
|
|
|
|
use DataAccess\Tickets\TicketGateway;
|
|
|
|
class TicketRetriever {
|
|
/**
|
|
* @var $ticketGateway TicketGateway
|
|
*/
|
|
private $ticketGateway;
|
|
|
|
function __construct($ticketGateway) {
|
|
$this->ticketGateway = $ticketGateway;
|
|
}
|
|
|
|
function getTicketById($id, $heskSettings, $userContext) {
|
|
return $this->ticketGateway->getTicketById($id, $heskSettings);
|
|
}
|
|
} |