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.
26 lines
488 B
PHP
26 lines
488 B
PHP
<?php
|
|
/**
|
|
* Created by PhpStorm.
|
|
* User: user
|
|
* Date: 1/16/17
|
|
* Time: 10:10 PM
|
|
*/
|
|
|
|
namespace BusinessLogic\Category;
|
|
|
|
use DataAccess\CategoryGateway;
|
|
|
|
class CategoryRetriever {
|
|
/**
|
|
* @var CategoryGateway
|
|
*/
|
|
private $categoryGateway;
|
|
|
|
function __construct($categoryGateway) {
|
|
$this->categoryGateway = $categoryGateway;
|
|
}
|
|
|
|
function getAllCategories($hesk_settings) {
|
|
return $this->categoryGateway->getAllCategories($hesk_settings);
|
|
}
|
|
} |